rusEFI
The most advanced open source ECU
|
Enumerations | |
enum | drv8860_drv_state { DRV8860_DISABLED = 0 , DRV8860_WAIT_INIT , DRV8860_READY , DRV8860_FAILED } |
Functions | |
SEMAPHORE_DECL (drv8860_wake, 10) | |
static | THD_WORKING_AREA (drv8860_thread_1_wa, 256) |
static | THD_FUNCTION (drv8860_driver_thread, p) |
int | drv8860_add (brain_pin_e base, unsigned int index, const drv8860_config *cfg) |
DRV8860 driver add. | |
Variables | |
static bool | drv_task_ready = false |
static Drv8860 | chips [BOARD_DRV8860_COUNT] |
static const char * | drv8860_pin_names [DRV8860_OUTPUTS] |
enum drv8860_drv_state |
Enumerator | |
---|---|
DRV8860_DISABLED | |
DRV8860_WAIT_INIT | |
DRV8860_READY | |
DRV8860_FAILED |
Definition at line 30 of file drv8860.cpp.
int drv8860_add | ( | brain_pin_e | base, |
unsigned int | index, | ||
const drv8860_config * | cfg | ||
) |
DRV8860 driver add.
Checks for valid config
Definition at line 235 of file drv8860.cpp.
Referenced by initSmartGpio().
SEMAPHORE_DECL | ( | drv8860_wake | , |
10 | |||
) |
|
static |
Definition at line 156 of file drv8860.cpp.
|
static |
|
static |
Definition at line 73 of file drv8860.cpp.
Referenced by drv8860_add(), and THD_FUNCTION().
|
static |
Definition at line 75 of file drv8860.cpp.
Referenced by drv8860_add().
|
static |
Definition at line 28 of file drv8860.cpp.