|
| NextInterruptEvent | operator| (NextInterruptEvent lhs, NextInterruptEvent rhs) |
| |
| NextInterruptEvent | operator& (NextInterruptEvent lhs, NextInterruptEvent rhs) |
| |
| static void | setVvtPidTunings (integerPID &pid, const config10 &page10, bool isReverse) |
| |
| static void | initialiseVvtPid (integerPID &pid, const config10 &page10, bool isReverse, int16_t currentAngle) |
| |
| void | initialiseVvtWmi (statuses ¤t, const pinNumbers_t &pins, const config4 &page4, const config6 &page6, config10 &page10) |
| | Initialise the VVT & WMI controllers.
|
| |
| static uint16_t | getVvtLoad (const statuses ¤t, const config6 &page6) |
| |
| static void | updateVvtDutyOl (vvtStatus_t &vvtStatus, const statuses ¤t, const config6 &page6, const table3d8RpmLoad &lookupTable) |
| |
| static void | updateVvtDutyOnOff (vvtStatus_t &vvtStatus, const statuses ¤t, const config6 &page6, const table3d8RpmLoad &lookupTable) |
| |
| static void | updateVvtDutyCl (vvtStatus_t &vvtStatus, integerPID &pid, const statuses ¤t, const config6 &page6, const config10 &page10, const table3d8RpmLoad &lookupTable) |
| |
| static void | updateVvtDuty (vvtStatus_t &vvtStatus, integerPID &pid, const statuses ¤t, const config6 &page6, const config10 &page10, const table3d8RpmLoad &lookupTable) |
| |
| static void | setTimerState (void) noexcept |
| |
| static bool | isVvtActive (const statuses ¤t, const config4 &page4, const config6 &page6) |
| |
| void | vvtControl (statuses ¤t, const config4 &page4, const config6 &page6, config10 &page10) |
| | VVT control. Should be called from the main loop.
|
| |
| static bool | isWmiTankEmpty (const config10 &page10) |
| |
| static bool | isWmiActive (const statuses ¤t, const config10 &page10) |
| |
| static uint8_t | calculateWmiPw (const statuses ¤t, const config10 &page10) |
| |
| void | wmiControl (statuses ¤t, const config10 &page10) |
| | WMI control. Should be called from the main loop.
|
| |
| static void | setVvtTimerCompare (uint16_t offset) |
| |
| static bool | isVvtOff (const VvtOutputChannel &channel) |
| |
| static NextInterruptEvent | overrideNextEvent (NextInterruptEvent next, const VvtOutputChannel &channel1, const VvtOutputChannel &channel2) noexcept |
| |
| static void | applyEventToChannel (VvtOutputChannel &channel, NextInterruptEvent event, NextInterruptEvent onEvent, NextInterruptEvent offEvent) noexcept |
| |
| static NextInterruptEvent | calculateNextInterruptSingleOff (const VvtOutputChannel &primary, NextInterruptEvent primaryOff, const VvtOutputChannel &other, uint16_t &offset) noexcept |
| |
| static NextInterruptEvent | calculateNextInterrupt (NextInterruptEvent currentEvent, const VvtOutputChannel &channel1, const VvtOutputChannel &channel2, uint16_t &offset) noexcept |
| |
| void | vvtInterrupt (void) |
| | VVT timer callback for PWM control.
|
| |