rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
hw_layer
smart_gpio.h
Go to the documentation of this file.
1
/*
2
* @file smart_gpio.h
3
*
4
* @date Apr 13, 2019
5
* @author Andrey Belomutskiy, (c) 2012-2020
6
*/
7
8
#pragma once
9
10
#if EFI_PROD_CODE
11
#include "
drivers/gpio/mc33810.h
"
12
#include "
drivers/gpio/tle6240.h
"
13
#include "
drivers/gpio/mc33972.h
"
14
#include "
drivers/gpio/tle8888.h
"
15
#include "
drivers/gpio/tle9201.h
"
16
#include "
drivers/gpio/drv8860.h
"
17
#include "
drivers/gpio/can_gpio_msiobox.h
"
18
// we seem OK without L9779 here do we need those includes at all?
19
#endif
/* EFI_PROD_CODE */
20
21
#if EFI_SIMULATOR
22
#define BOARD_EXT_GPIOCHIPS 0
23
#elif EFI_UNIT_TEST || EFI_SIMULATOR
24
#define BOARD_EXT_GPIOCHIPS 3
25
#else
26
#define BOARD_EXT_GPIOCHIPS (\
27
BOARD_TLE6240_COUNT + \
28
BOARD_MC33972_COUNT + \
29
BOARD_TLE8888_COUNT + \
30
BOARD_DRV8860_COUNT + \
31
BOARD_MC33810_COUNT + \
32
BOARD_L9779_COUNT + \
33
BOARD_CAN_GPIO_COUNT + \
34
BOARD_TLE9104_COUNT + \
35
0)
36
#endif
37
38
void
initSmartGpio
();
39
void
startSmartCsPins
();
40
void
stopSmartCsPins
();
41
42
void
tle8888startup
();
can_gpio_msiobox.h
drv8860.h
mc33810.h
mc33972.h
startSmartCsPins
void startSmartCsPins()
Definition
smart_gpio.cpp:380
tle8888startup
void tle8888startup()
Definition
smart_gpio.cpp:338
initSmartGpio
void initSmartGpio()
Definition
smart_gpio.cpp:252
stopSmartCsPins
void stopSmartCsPins()
Definition
smart_gpio.cpp:355
tle6240.h
tle8888.h
tle9201.h
Generated on Sat Sep 27 2025 00:10:07 for rusEFI by
1.9.8