rusEFI
The most advanced open source ECU
|
Enumerations | |
enum | tle6240_drv_state { TLE6240_DISABLED = 0 , TLE6240_WAIT_INIT , TLE6240_READY , TLE6240_FAILED } |
Functions | |
SEMAPHORE_DECL (tle6240_wake, 10) | |
static | THD_WORKING_AREA (tle6240_thread_1_wa, 256) |
static int | tle6240_wake_driver () |
TLE6240 chip driver wakeup. | |
static | THD_FUNCTION (tle6240_driver_thread, p) |
int | tle6240_add (brain_pin_e base, unsigned int index, const tle6240_config *cfg) |
TLE6240 driver add. | |
Variables | |
static bool | drv_task_ready = false |
static Tle6240 | chips [BOARD_TLE6240_COUNT] |
static const char * | tle6240_pin_names [TLE6240_OUTPUTS] |
enum tle6240_drv_state |
Enumerator | |
---|---|
TLE6240_DISABLED | |
TLE6240_WAIT_INIT | |
TLE6240_READY | |
TLE6240_FAILED |
Definition at line 51 of file tle6240.cpp.
SEMAPHORE_DECL | ( | tle6240_wake | , |
10 | |||
) |
|
static |
Definition at line 332 of file tle6240.cpp.
|
static |
int tle6240_add | ( | brain_pin_e | base, |
unsigned int | index, | ||
const tle6240_config * | cfg | ||
) |
TLE6240 driver add.
Checks for valid config
Definition at line 450 of file tle6240.cpp.
Referenced by initSmartGpio().
|
static |
TLE6240 chip driver wakeup.
Wake up driver. Will cause output register and diagnostic update.
chSemSignalI above requires rescheduling interrupt handlers have implicit rescheduling
Definition at line 311 of file tle6240.cpp.
|
static |
Definition at line 113 of file tle6240.cpp.
Referenced by THD_FUNCTION(), and tle6240_add().
|
static |
Definition at line 49 of file tle6240.cpp.
|
static |
Definition at line 115 of file tle6240.cpp.
Referenced by tle6240_add().