![]() |
Speeduino
|
#include <scheduler.h>
Public Types | |
| using | counter_t = decltype(FUEL1_COUNTER) |
| using | compare_t = decltype(FUEL1_COMPARE) |
Public Member Functions | |
| FuelSchedule (counter_t &counter, compare_t &compare, void(&_pTimerDisable)(), void(&_pTimerEnable)()) | |
Public Attributes | |
| volatile unsigned long | duration |
| Scheduled duration (uS) | |
| volatile ScheduleStatus | Status |
| Schedule status: OFF, PENDING, STAGED, RUNNING. | |
| volatile COMPARE_TYPE | startCompare |
| The counter value of the timer when this will start. | |
| void(* | pStartFunction )(void) |
| void(* | pEndFunction )(void) |
| COMPARE_TYPE | nextStartCompare |
| volatile bool | hasNextSchedule = false |
| counter_t & | counter |
| compare_t & | compare |
| void(&) | pTimerDisable () |
| void(&) | pTimerEnable () |
Fuel injection schedule. Fuel schedules don't use the callback pointers, or the startTime/endScheduleSetByDecoder variables. They are removed in this struct to save RAM.
|
inline |
| compare_t& FuelSchedule::compare |
| counter_t& FuelSchedule::counter |
| COMPARE_TYPE FuelSchedule::nextStartCompare |
| void(&) FuelSchedule::pTimerDisable() |
| void(&) FuelSchedule::pTimerEnable() |
| volatile COMPARE_TYPE FuelSchedule::startCompare |
The counter value of the timer when this will start.
| volatile ScheduleStatus FuelSchedule::Status |
Schedule status: OFF, PENDING, STAGED, RUNNING.