Speeduino
Loading...
Searching...
No Matches
Functions
Ignition schedule timer ISRs

Functions

static void onEndIgnitionEvent (const IgnitionSchedule *pSchedule)
 Called when an ignition event ends. I.e. a spark fires.
 
 BEGIN_LTO_ALWAYS_INLINE (void) static ignitionPendingToRunning(Schedule *pSchedule)
 Called when the supplied schedule transitions from a PENDING state to RUNNING.
 
void moveToNextState (IgnitionSchedule &schedule) noexcept
 Shared ignition schedule timer ISR implementation. Should be called by the actual ignition timer ISRs (as timed interrupts) when either the start time or the duration time are reached. See Schedule finite state machine.
 

Detailed Description

Function Documentation

◆ BEGIN_LTO_ALWAYS_INLINE()

BEGIN_LTO_ALWAYS_INLINE ( void  )

Called when the supplied schedule transitions from a PENDING state to RUNNING.

Called when the supplied schedule transitions from a RUNNING state to PENDING.

Called when the supplied schedule transitions from a RUNNING state to OFF.

◆ moveToNextState()

void moveToNextState ( IgnitionSchedule schedule)
noexcept

Shared ignition schedule timer ISR implementation. Should be called by the actual ignition timer ISRs (as timed interrupts) when either the start time or the duration time are reached. See Schedule finite state machine.

Parameters
scheduleThe ignition schedule to move to the next state

◆ onEndIgnitionEvent()

static void onEndIgnitionEvent ( const IgnitionSchedule pSchedule)
inlinestatic

Called when an ignition event ends. I.e. a spark fires.

Parameters
pSchedulePointer to the schedule that fired the spark