Universal (shared between decoders) decoder routines.
◆ addToothLogEntry()
| static void addToothLogEntry |
( |
unsigned long |
toothTime, |
|
|
byte |
whichTooth |
|
) |
| |
|
inlinestatic |
Add tooth log entry to toothHistory (array). Enabled by (either) currentStatus.toothLogEnabled and currentStatus.compositeTriggerUsed.
- Parameters
-
| toothTime | - Tooth Time |
| whichTooth | - 0 for Primary (Crank), 2 for Secondary (Cam) 3 for Tertiary (Cam) |
◆ getConfigPriTriggerEdge()
| static uint8_t getConfigPriTriggerEdge |
( |
const config4 & |
page4 | ) |
|
|
static |
◆ getConfigSecTriggerEdge()
| static uint8_t getConfigSecTriggerEdge |
( |
const config4 & |
page4 | ) |
|
|
static |
◆ getConfigTerTriggerEdge()
| static uint8_t getConfigTerTriggerEdge |
( |
const config10 & |
page10 | ) |
|
|
static |
◆ loggerPrimaryISR()
| void loggerPrimaryISR |
( |
void |
| ) |
|
Interrupt handler for primary trigger. This function is called on both the rising and falling edges of the primary trigger, when either the composite or tooth loggers are turned on.
◆ loggerSecondaryISR()
| void loggerSecondaryISR |
( |
void |
| ) |
|
Interrupt handler for secondary trigger. As loggerPrimaryISR, but for the secondary trigger.
◆ loggerTertiaryISR()
| void loggerTertiaryISR |
( |
void |
| ) |
|
Interrupt handler for third trigger. As loggerPrimaryISR, but for the third trigger.
◆ sharedDecoderReset()
| static void sharedDecoderReset |
( |
void |
| ) |
|
|
static |
◆ sharedEngineIsRunning()
| static bool sharedEngineIsRunning |
( |
uint32_t |
curTime | ) |
|
|
static |
◆ sharedGetDecoderFeatures()
◆ sharedGetStatus()