|
rusEFI
The most advanced open source ECU
|
Enumerations | |
| enum | mc33810_drv_state { MC33810_DISABLED = 0 , MC33810_WAIT_INIT , MC33810_READY , MC33810_FAILED } |
| enum | mc33810_coil_state { COIL_IDLE = 0 , COIL_WAIT_SPARK_START , COIL_WAIT_SPARK_END } |
Functions | |
| SEMAPHORE_DECL (mc33810_wake, 10) | |
| static | THD_WORKING_AREA (mc33810_thread_wa, 256) |
| bool | isCor (uint16_t rx) |
| static void | mc33810_spkdur_cb (void *ptr, efitick_t now) |
| static | THD_FUNCTION (mc33810_driver_thread, p) |
| int | mc33810_add (brain_pin_e base, unsigned int index, const mc33810_config *cfg) |
| MC33810 driver add. | |
| void | mc33810_req_init () |
| int | getMc33810maxDwellTimer (mc33810maxDwellTimer_e value) |
| const mc33810_state_s * | mc33810getLiveData (size_t idx) |
Variables | |
| static thread_t * | mc33810_thread = NULL |
| static Mc33810 | chips [BOARD_MC33810_COUNT] |
| static const char * | mc33810_pin_names [MC33810_OUTPUTS] |
| enum mc33810_coil_state |
| Enumerator | |
|---|---|
| COIL_IDLE | |
| COIL_WAIT_SPARK_START | |
| COIL_WAIT_SPARK_END | |
Definition at line 51 of file mc33810.cpp.
| enum mc33810_drv_state |
| Enumerator | |
|---|---|
| MC33810_DISABLED | |
| MC33810_WAIT_INIT | |
| MC33810_READY | |
| MC33810_FAILED | |
Definition at line 44 of file mc33810.cpp.
| int getMc33810maxDwellTimer | ( | mc33810maxDwellTimer_e | value | ) |
Definition at line 1003 of file mc33810.cpp.
Referenced by validateConfigOnStartUpOrBurn().

|
inline |
Definition at line 214 of file mc33810.cpp.
| int mc33810_add | ( | brain_pin_e | base, |
| unsigned int | index, | ||
| const mc33810_config * | cfg | ||
| ) |
MC33810 driver add.
Checks for valid config
Definition at line 946 of file mc33810.cpp.
Referenced by board_init_ext_gpios(), f407_discovery_boardInitHardware(), and hellen154hyundai_f7_boardInitHardware().


| void mc33810_req_init | ( | ) |
Definition at line 993 of file mc33810.cpp.
Referenced by handleCommandX14().

|
static |
Definition at line 792 of file mc33810.cpp.
| const mc33810_state_s * mc33810getLiveData | ( | size_t | idx | ) |
Definition at line 1021 of file mc33810.cpp.
Referenced by getLiveData().

| SEMAPHORE_DECL | ( | mc33810_wake | , |
| 10 | |||
| ) |
|
static |
Definition at line 742 of file mc33810.cpp.
|
static |
|
static |
Definition at line 203 of file mc33810.cpp.
Referenced by mc33810_add(), mc33810_req_init(), mc33810getLiveData(), and THD_FUNCTION().
|
static |
Definition at line 205 of file mc33810.cpp.
Referenced by mc33810_add().
|
static |
Definition at line 126 of file mc33810.cpp.