rusEFI
The most advanced open source ECU
|
Functions | |
void | onTriggerEventSparkLogic (float rpm, efitick_t edgeTimestamp, float currentPhase, float nextPhase) |
void | turnSparkPinHighStartCharging (IgnitionEvent *event) |
void | fireSparkAndPrepareNextSchedule (IgnitionEvent *event) |
int | getNumberOfSparks (ignition_mode_e mode) |
percent_t | getCoilDutyCycle (float rpm) |
void | initializeIgnitionActions () |
void fireSparkAndPrepareNextSchedule | ( | IgnitionEvent * | event | ) |
TL,DR: each IgnitionEvent is in charge of it's own scheduling forever, we plant next event while finishing handling of the current one
ratio of desired dwell duration to actual dwell duration gives us some idea of how good is input trigger jitter
Definition at line 195 of file spark_logic.cpp.
Referenced by overFireSparkAndPrepareNextSchedule().
Definition at line 642 of file spark_logic.cpp.
Referenced by populateFrame(), and updateIgnition().
int getNumberOfSparks | ( | ignition_mode_e | mode | ) |
Number of sparks per physical coil
Definition at line 623 of file spark_logic.cpp.
Referenced by getCoilDutyCycle().
void initializeIgnitionActions | ( | ) |
Definition at line 463 of file spark_logic.cpp.
Referenced by prepareIgnitionSchedule().
void onTriggerEventSparkLogic | ( | float | rpm, |
efitick_t | edgeTimestamp, | ||
float | currentPhase, | ||
float | nextPhase | ||
) |
Ignition schedule is defined once per revolution See initializeIgnitionActions()
Definition at line 506 of file spark_logic.cpp.
Referenced by mainTriggerCallback().
void turnSparkPinHighStartCharging | ( | IgnitionEvent * | event | ) |
Definition at line 308 of file spark_logic.cpp.