rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
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
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 (\
27BOARD_TLE6240_COUNT + \
28BOARD_MC33972_COUNT + \
29BOARD_TLE8888_COUNT + \
30BOARD_DRV8860_COUNT + \
31BOARD_MC33810_COUNT + \
32BOARD_L9779_COUNT + \
33BOARD_CAN_GPIO_COUNT + \
34BOARD_TLE9104_COUNT + \
350)
36#endif
37
38void initSmartGpio();
39void startSmartCsPins();
40void stopSmartCsPins();
41
42void tle8888startup();
void startSmartCsPins()
void tle8888startup()
void initSmartGpio()
void stopSmartCsPins()