Speeduino
Loading...
Searching...
No Matches
Public Attributes | List of all members
Schedule Struct Reference

#include <scheduler.h>

Public Attributes

volatile unsigned long duration
 Scheduled duration (uS ?) More...
 
volatile ScheduleStatus Status
 Schedule status: OFF, PENDING, STAGED, RUNNING. More...
 
volatile byte schedulesSet
 A counter of how many times the schedule has been set. More...
 
void(* StartCallback )()
 Start Callback function for schedule. More...
 
void(* EndCallback )()
 End Callback function for schedule. More...
 
volatile unsigned long startTime
 
volatile COMPARE_TYPE startCompare
 The counter value of the timer when this will start. More...
 
volatile COMPARE_TYPE endCompare
 The counter value of the timer when this will end. More...
 
COMPARE_TYPE nextStartCompare
 Planned start of next schedule (when current schedule is RUNNING) More...
 
COMPARE_TYPE nextEndCompare
 Planned end of next schedule (when current schedule is RUNNING) More...
 
volatile bool hasNextSchedule = false
 Enable flag for planned next schedule (when current schedule is RUNNING) More...
 
volatile bool endScheduleSetByDecoder = false
 

Detailed Description

Ignition schedule.

Member Data Documentation

◆ duration

volatile unsigned long Schedule::duration

Scheduled duration (uS ?)

◆ EndCallback

void(* Schedule::EndCallback) ()

End Callback function for schedule.

◆ endCompare

volatile COMPARE_TYPE Schedule::endCompare

The counter value of the timer when this will end.

◆ endScheduleSetByDecoder

volatile bool Schedule::endScheduleSetByDecoder = false

◆ hasNextSchedule

volatile bool Schedule::hasNextSchedule = false

Enable flag for planned next schedule (when current schedule is RUNNING)

◆ nextEndCompare

COMPARE_TYPE Schedule::nextEndCompare

Planned end of next schedule (when current schedule is RUNNING)

◆ nextStartCompare

COMPARE_TYPE Schedule::nextStartCompare

Planned start of next schedule (when current schedule is RUNNING)

◆ schedulesSet

volatile byte Schedule::schedulesSet

A counter of how many times the schedule has been set.

◆ StartCallback

void(* Schedule::StartCallback) ()

Start Callback function for schedule.

◆ startCompare

volatile COMPARE_TYPE Schedule::startCompare

The counter value of the timer when this will start.

◆ startTime

volatile unsigned long Schedule::startTime

The system time (in uS) that the schedule started, used by the overdwell protection in timers.ino

◆ Status

volatile ScheduleStatus Schedule::Status

Schedule status: OFF, PENDING, STAGED, RUNNING.


The documentation for this struct was generated from the following file: