rusEFI
The most advanced open source ECU
|
Functions | |
void | mainTriggerCallback (uint32_t trgEventIndex, efitick_t edgeTimestamp, angle_t currentPhase, angle_t nextPhase) |
void | endSimultaneousInjection (InjectionEvent *event) |
void | turnInjectionPinLow (InjectionEvent *event) |
void endSimultaneousInjection | ( | InjectionEvent * | event | ) |
Definition at line 50 of file main_trigger_callback.cpp.
void mainTriggerCallback | ( | uint32_t | trgEventIndex, |
efitick_t | edgeTimestamp, | ||
angle_t | currentPhase, | ||
angle_t | nextPhase | ||
) |
This is the main trigger event handler. Both injection and ignition are controlled from this method.
In case on a major error we should not process any more events.
For fuel we schedule start of injection based on trigger angle, and then inject for specified duration of time
For spark we schedule both start of coil charge and actual spark based on trigger angle
Definition at line 255 of file main_trigger_callback.cpp.
Referenced by TriggerCentral::handleShaftSignal().
void turnInjectionPinLow | ( | InjectionEvent * | event | ) |
Definition at line 55 of file main_trigger_callback.cpp.