Speeduino
Loading...
Searching...
No Matches
Functions
decoders::dual_wheel Namespace Reference

Functions

shared::state_t initialise (const config4 &page4)
 
void triggerPrimary (uint32_t curTime, statuses &current, shared::state_t &decoderState, const config2 &page2, const config4 &page4)
 
void triggerSecondary (uint32_t curTime, statuses &current, shared::state_t &decoderState, const config4 &page4)
 
uint32_t getRevolutionTime (const statuses &current, const shared::state_t &decoderState, const config4 &page4)
 
int16_t getCrankAngle (uint32_t currMicros, const shared::state_t &decoderState, const config4 &page4)
 
static uint16_t calcEndTooth (const IgnitionSchedule &schedule, uint8_t toothAdder, const shared::state_t &decoderState, const config4 &page4)
 
void setEndTeeth (shared::state_t &decoderState, const config4 &page4)
 

Function Documentation

◆ calcEndTooth()

static uint16_t decoders::dual_wheel::calcEndTooth ( const IgnitionSchedule &  schedule,
uint8_t  toothAdder,
const shared::state_t &  decoderState,
const config4 &  page4 
)
static

◆ getCrankAngle()

int16_t decoders::dual_wheel::getCrankAngle ( uint32_t  currMicros,
const shared::state_t &  decoderState,
const config4 &  page4 
)

◆ getRevolutionTime()

uint32_t decoders::dual_wheel::getRevolutionTime ( const statuses &  current,
const shared::state_t &  decoderState,
const config4 &  page4 
)

◆ initialise()

shared::state_t decoders::dual_wheel::initialise ( const config4 &  page4)

◆ setEndTeeth()

void decoders::dual_wheel::setEndTeeth ( shared::state_t &  decoderState,
const config4 &  page4 
)

◆ triggerPrimary()

void decoders::dual_wheel::triggerPrimary ( uint32_t  curTime,
statuses &  current,
shared::state_t &  decoderState,
const config2 &  page2,
const config4 &  page4 
)

◆ triggerSecondary()

void decoders::dual_wheel::triggerSecondary ( uint32_t  curTime,
statuses &  current,
shared::state_t &  decoderState,
const config4 &  page4 
)