Speeduino
Loading...
Searching...
No Matches
dualWheel.h
Go to the documentation of this file.
1
7#pragma once
8
10#include "config_pages.h"
11#include "statuses.h"
12
13namespace decoders {
14
15namespace dual_wheel {
16
17 shared::state_t initialise(const config4 &page4);
18
19 void triggerPrimary(uint32_t curTime, statuses &current, shared::state_t &decoderState, const config2 &page2, const config4 &page4);
20
21 void triggerSecondary(uint32_t curTime, statuses &current, shared::state_t &decoderState, const config4 &page4);
22
23 uint32_t getRevolutionTime(const statuses &current, const shared::state_t &decoderState, const config4 &page4);
24
25 int16_t getCrankAngle(uint32_t currMicros, const shared::state_t &decoderState, const config4 &page4);
26
27 void setEndTeeth(shared::state_t &decoderState, const config4 &page4);
28}
29}
The tune page structs and related defines.
const config4 & page4
Definition engineProtection.cpp:172
const config2 & page2
Definition engineProtection.cpp:455
void setEndTeeth(shared::state_t &decoderState, const config4 &page4)
Definition dualWheel.cpp:133
shared::state_t initialise(const config4 &page4)
Definition dualWheel.cpp:11
uint32_t getRevolutionTime(const statuses &current, const shared::state_t &decoderState, const config4 &page4)
Definition dualWheel.cpp:102
int16_t getCrankAngle(uint32_t currMicros, const shared::state_t &decoderState, const config4 &page4)
Definition dualWheel.cpp:119
void triggerPrimary(uint32_t curTime, statuses &current, shared::state_t &decoderState, const config2 &page2, const config4 &page4)
Definition dualWheel.cpp:29
void triggerSecondary(uint32_t curTime, statuses &current, shared::state_t &decoderState, const config4 &page4)
Definition dualWheel.cpp:71
Definition basicDistributor.cpp:8
const config2 const config4 const config6 const config10 statuses & current
Definition scheduler_fuel_controller.cpp:913
The statuses struct and related defines.
Definition config_pages.h:179
Definition config_pages.h:357
The status struct with current values for all 'live' variables.
Definition statuses.h:131