FreeEMS
0.2.0-SNAPSHOT-282-g9efc524
|
Injector ISR shared code. More...
Go to the source code of this file.
Macros | |
#define | INJECTOR_MAIN_ON_MASK (BIT2<<INJECTOR_CHANNEL_NUMBER) |
Functions | |
void | InjectorXISR () |
A template function for ECT injector/coil operation. |
Injector ISR shared code.
This code is identical between all 6 channels, and thus we only want one copy of it. The X in each macro will be replaced with the number that is appropriate for the channel it is being used for at the time.
Each channel performs the following actions
Definition in file injectorISR.c.
#define INJECTOR_MAIN_ON_MASK (BIT2<<INJECTOR_CHANNEL_NUMBER) |
Definition at line 60 of file injectorISR.c.
Referenced by InjectorXISR().
void InjectorXISR | ( | ) |
A template function for ECT injector/coil operation.
Note, this function does not exist in the binary, only in source and the Doxygen docs. In contrast the 6 real ones only exist in binary and not the source or Doxygen docs, hence if you want to look at the source, this is the place to do so.
Definition at line 69 of file injectorISR.c.
References BIT2, Counters, DEBUG_TURN_PIN_OFF, DEBUG_TURN_PIN_ON, DECODER_BENCHMARKS, ectCodeCloseRuntimes, ectCodeLatencies, ectCodeOpenRuntimes, ectMainControlRegisters, ectMainDisableMasks, ectMainEnableMasks, ectMainEndTimes, ectMainGoHighMasks, ectMainGoLowMasks, ectMainOffMasks, ectMainStartOffsetHolding, ectMainTimeRegisters, ectSwitchOnCodeTime, edgeTimeStamp, INJECTOR_CHANNEL_NUMBER, INJECTOR_MAIN_ON_MASK, Counter::injectorSelfScheduleExtensions, Counter::injectorSelfSchedules, Counter::injectorSwitchOffs, Counter::injectorSwitchOns, Counter::injectorTimerExtensionFinals, Counter::injectorTimerExtensions, NBIT2, outputEventDelayFinalPeriodHolding, outputEventDelayFinalPeriodRealtime, outputEventExtendNumberOfRepeatsHolding, outputEventExtendNumberOfRepeatsRealtime, outputEventExtendRepeatPeriodHolding, outputEventExtendRepeatPeriodRealtime, outputEventPulseWidthsHolding, outputEventPulseWidthsRealtime, PORTB, PTIT, selfSetTimer, TCNT, TFLG, TFLGOF, TIE, LongTime::timeLong, timerExtensionClock, LongTime::timeShorts, and timeStamp.