Speeduino
Loading...
Searching...
No Matches
statuses.h
Go to the documentation of this file.
1
8#pragma once
9
10#include <stdint.h>
11#include "bit_manip.h"
12#include "maths.h"
13#include "decoder_t.h"
14
15using byte = uint8_t;
16
19{
21 None,
23 Rolling,
25 Full,
26};
27
28
31{
33 Stopped,
35 Cranking,
37 Running,
38};
39
47struct statuses {
49 statuses(void);
50
56 void setRpm(uint16_t rpm);
57
58 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
60 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
61 bool clutchTrigger : 1;
62 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
64 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
65 volatile bool injPrimed : 1;
66 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
67 volatile bool tachoSweepEnabled : 1;
68 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
69 volatile bool tachoAlt : 1;
70
72 byte RPMdiv100;
73 long longRPM;
75 long MAP;
81 byte TPSlast;
83 volatile int rpmDOT;
84 byte VE;
85 byte VE1;
86 byte VE2;
89 int coolant;
91 int IAT;
98 byte battery10;
117 volatile byte ethanolPct;
118 volatile int8_t fuelTemp;
119 unsigned long AEEndTime;
121 // Status1 fields as defined in the INI
122 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
123 bool isDFCOActive : 1;
124 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
125 volatile bool isToothLog1Full : 1;
126
127 // Status2 fields as defined in the INI.
128 // TODO: resolve duplication with launchingHard
129 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
131 // TODO: resolve duplication with launchingSoft
132 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
134 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
136 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
137 bool idleOn : 1;
138
139 // Status3 fields as defined in the INI.
140 // TODO: resolve duplication with nitrous_status
141 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
142 bool nitrousActive : 1;
143 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
145 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
146 bool vssUiRefresh : 1;
147 // TODO: resolve duplication with nSquirts
148 unsigned int nSquirtsStatus: 3;
149
150 // Status4 fields as defined in the INI.
151 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
152 bool wmiTankEmpty : 1;
153 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
154 bool vvt1AngleError : 1;
155 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
156 bool vvt2AngleError : 1;
157 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
158 bool fanOn : 1;
159 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
160 bool burnPending : 1;
161 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
162 bool stagingActive : 1;
163 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
164 bool commCompat : 1;
165 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
167
168 // Status5 fields as defined in the INI.
169 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
171 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
173 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
175 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
177 // TODO: resolve duplication with clutchTrigger
178 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
180
181 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
182 bool aseIsActive : 1;
183 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
184 bool wueIsActive : 1;
185 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
186 // TODO: acceleration has 3 states: Steady, Accelerating, Decelerating. Need to capture this better
187 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
189 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
192
193 // TODO: make all pulse widths uint16_t
194 unsigned int PW1;
195 unsigned int PW2;
196 unsigned int PW3;
197 unsigned int PW4;
198 unsigned int PW5;
199 unsigned int PW6;
200 unsigned int PW7;
201 unsigned int PW8;
202 volatile byte runSecs;
203 volatile byte secl;
207 // TODO: remove this: only updated & read in logger
209 // TODO: make all RPMs uint16_t
210 unsigned int clutchEngagedRPM;
214 // TODO: resolve conflict with testActive
215 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
216 bool isTestModeActive : 1; // Is hardware test mode on?
217 bool testActive; // Not in use ? Replaced by testOutputs ?
219 byte idleLoad;
225 byte nSquirts;
228 volatile byte syncLossCounter;
230 volatile byte knockCount;
232 byte compositeTriggerUsed; // 0 means composite logger disabled, 2 means use secondary input (1st cam), 3 means use tertiary input (2nd cam), 4 means log both cams together
233 int16_t vvt1Angle; //Has to be a long for PID calcs (CL VVT control)
235 long vvt1Duty; //Has to be a long for PID calcs (CL VVT control)
240 byte gear;
246 {
247 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
248 bool rpm : 1;
249 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
250 bool coolant : 1;
251 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
252 bool boostCut : 1;
253 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
254 bool oil : 1;
255 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
256 bool afr : 1;
257
259 // cppcheck-suppress misra-c2012-8.10 ; False positive - cannot make this static
260 inline bool isActive(void) const {
261 return rpm
262 || coolant
263 || boostCut
264 || oil
265 || afr
266 ;
267 }
268
270 // cppcheck-suppress misra-c2012-8.10 ; False positive - cannot make this static
271 inline void reset(void) {
272 rpm = false;
273 boostCut = false;
274 oil = false;
275 afr = false;
276 coolant = false;
277 }
278 };
280 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
281 bool ioError : 1;
282
284 byte wmiPW;
285 int16_t vvt2Angle; //Has to be a long for PID calcs (CL VVT control)
287 long vvt2Duty; //Has to be a long for PID calcs (CL VVT control)
289
290 // SD card status fields.
291 // TODO: conditional compile on SD_LOGGING once board definition is separated from globals.h
292 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
293 bool sdCardPresent : 1;
294 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
295 unsigned int sdCardType : 1;
296 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
297 bool sdCardReady : 1;
298 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
299 bool sdCardLogging : 1;
300 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
301 bool sdCardError : 1;
302 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
303 unsigned int sdCardFS : 1;
304 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
305 bool sdCardUnused : 1;
306
307 // airConStatus fields.
308 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
310 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
312 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
314 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
316 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
318 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
320 // cppcheck-suppress misra-c2012-6.1 ; False positive - MISRA C:2012 Rule (R 6.1) permits the use of boolean for bit fields.
321 bool airconFanOn : 1;
322
324 uint32_t revolutionTime; //The time in uS that one revolution would take at current speed (The time tooth 1 was last seen, minus the time it was seen prior to that)
325
331 {
332 // Using bytes for compactness ATM, but that limits us to 8 fuel and
333 // 8 ignition channels
335 byte ignitionChannels = 0xFF;
336 byte fuelChannels = 0xFF;
338 };
340
342
344};
Bit twiddling macros.
uint8_t byte
Definition config_pages.h:16
static TIntegral readSerialIntegralTimeout(void)
Reads an integral type, timing out if necessary.
Definition comms.cpp:175
EngineRotationStatus
The engine rotation status.
Definition statuses.h:31
SchedulerCutStatus
The current status of scheduler channel cuts.
Definition statuses.h:19
This structure represents a decoder configuration.
Definition decoder_t.h:89
Engine protection status fields.
Definition statuses.h:246
bool rpm
true if RPM limits have been breached, false otherwise
Definition statuses.h:248
bool isActive(void) const
Are any protections active.
Definition statuses.h:260
bool oil
true if the oil limit has been breached, false otherwise
Definition statuses.h:254
bool afr
true if the afr limit has been breached, false otherwise
Definition statuses.h:256
bool boostCut
true if the boost limit has been breached, false otherwise
Definition statuses.h:252
bool coolant
true if coolant limits have been breached, false otherwise
Definition statuses.h:250
void reset(void)
Reset all protections to off.
Definition statuses.h:271
Fuel and ignition scheduler cut state.
Definition statuses.h:331
byte fuelChannels
Which fuel channels are on (1) or off (0)
Definition statuses.h:336
SchedulerCutStatus status
Definition statuses.h:337
byte ignitionChannelsPending
Any ignition channels that are pending injections before they are resumed.
Definition statuses.h:334
byte ignitionChannels
Which ignition channels are on (1) or off (0)
Definition statuses.h:335
The status struct with current values for all 'live' variables.
Definition statuses.h:47
bool airconFanOn
Indicates whether the A/C fan is running.
Definition statuses.h:321
byte dwellCorrection
Definition statuses.h:97
bool wueIsActive
Is Warm Up Enrichment (WUE) active (true) or not (false)
Definition statuses.h:184
uint16_t baroADC
Definition statuses.h:74
bool airconRequested
Indicates whether the A/C button is pressed.
Definition statuses.h:309
volatile byte syncLossCounter
Definition statuses.h:228
byte ASEValue
Definition statuses.h:237
int16_t vvt2Angle
Definition statuses.h:285
uint16_t canin[16]
16bit raw value of selected canin data for channels 0-15
Definition statuses.h:220
byte oilPressure
Definition statuses.h:242
uint8_t current_caninchannel
Definition statuses.h:221
bool launchingSoft
Definition statuses.h:205
EngineRotationStatus rotationStatus
Definition statuses.h:191
unsigned int PW3
In uS.
Definition statuses.h:196
byte launchCorrection
Definition statuses.h:109
scheduler_cut_t schedulerCutState
Definition statuses.h:339
unsigned int PW6
In uS.
Definition statuses.h:199
bool idleUpActive
Definition statuses.h:115
bool wmiTankEmpty
Is the Water Methanol Injection tank empty (true) or not (false)
Definition statuses.h:152
long vvt1Duty
Definition statuses.h:235
unsigned int sdCardFS
File system type 0=no FAT16, 1=FAT32.
Definition statuses.h:303
uint32_t revolutionTime
Definition statuses.h:324
bool CTPSActive
Definition statuses.h:116
unsigned int PW8
In uS.
Definition statuses.h:201
byte CLIdleTarget
Definition statuses.h:114
byte vvt2TargetAngle
Definition statuses.h:286
byte TPSlast
Definition statuses.h:81
bool clutchTrigger
Definition statuses.h:61
bool testActive
Definition statuses.h:217
bool idleUpOutputActive
Definition statuses.h:239
bool secondSparkTableActive
Secondary spark table is use (true) or not (false)
Definition statuses.h:172
bool vvt2AngleError
VVT2 cam angle within limits (false) or not (true)
Definition statuses.h:156
unsigned long AEEndTime
Definition statuses.h:119
byte baroCorrection
Definition statuses.h:108
bool flatShiftingHard
Definition statuses.h:211
int16_t vvt1Angle
Definition statuses.h:233
bool vvt1AngleError
VVT1 cam angle within limits (false) or not (true)
Definition statuses.h:154
unsigned int PW4
In uS.
Definition statuses.h:197
byte VE2
Definition statuses.h:86
byte flexCorrection
Definition statuses.h:110
bool clutchTriggerActive
Is the clutch trigger active (true) or not (false)
Definition statuses.h:179
volatile uint16_t loopsPerSecond
Definition statuses.h:204
bool toothLogEnabled
Definition statuses.h:231
bool burnPending
Is an EEPROM burn pending (true) or not (false)
Definition statuses.h:160
byte VE1
Definition statuses.h:85
bool airconTpsLockout
Indicates the A/C is locked out due to high TPS, or the post-high-TPS "stand-down" lockout period.
Definition statuses.h:315
bool sdCardLogging
true if logging active, false if not
Definition statuses.h:299
int IAT
Definition statuses.h:91
int16_t mapDOT
Definition statuses.h:82
uint16_t ignLoad
Definition statuses.h:227
byte wueCorrection
Definition statuses.h:105
byte batCorrection
Definition statuses.h:106
int8_t advance
Definition statuses.h:99
unsigned int PW1
In uS.
Definition statuses.h:194
uint16_t dwell
dwell (coil primary winding/circuit on) time (in ms * 10 ? See correctionsDwell)
Definition statuses.h:95
uint8_t tpsADC
Definition statuses.h:79
volatile byte knockCount
Definition statuses.h:230
bool knockRetardActive
Is knock retardation active (true) or not (false)
Definition statuses.h:174
bool knockPulseDetected
Definition statuses.h:176
byte nSquirts
Number of injector squirts per cycle (per injector)
Definition statuses.h:225
int8_t advance2
Definition statuses.h:101
statuses(void)
Default construct.
Definition statuses.cpp:5
bool ioError
true if there is an analog pin conflict
Definition statuses.h:281
bool sdCardUnused
true if unused, false if not
Definition statuses.h:305
uint16_t vss
Definition statuses.h:238
bool fanOn
Engine fan status (true == on, false == off)
Definition statuses.h:158
byte knockRetard
Definition statuses.h:229
uint16_t boostTarget
Definition statuses.h:213
uint16_t EMAP
EMAP ... (See config6::useEMAP for EMAP enablement)
Definition statuses.h:76
bool airconTurningOn
Indicates the A/C request is on (i.e. A/C button pressed), the lockouts are off, however the start de...
Definition statuses.h:317
bool sdCardReady
true if ready, false if not
Definition statuses.h:297
byte gear
Definition statuses.h:240
volatile bool injPrimed
Tracks whether or not the injector priming has been completed yet.
Definition statuses.h:65
uint8_t maxIgnOutputs
Definition statuses.h:326
bool airconRpmLockout
Indicates the A/C is locked out due to the RPM being too high/low, or the post-high/post-low-RPM "sta...
Definition statuses.h:313
volatile byte secl
Definition statuses.h:203
bool secondFuelTableActive
Secondary fuel table is use (true) or not (false)
Definition statuses.h:144
bool isTestModeActive
Definition statuses.h:216
bool nitrousActive
Nitrous on (true) or off (false)
Definition statuses.h:142
uint16_t fuelLoad
Definition statuses.h:226
int coolant
Definition statuses.h:89
byte VE
Definition statuses.h:84
bool isDeceleratingTPS
Are we decelerating (true) or not (false), based on TPS.
Definition statuses.h:190
volatile uint16_t actualDwell
actual dwell time if new ignition mode is used (in uS)
Definition statuses.h:96
void setRpm(uint16_t rpm)
Set the RPM field, keeping RPMDiv100 in sync.
Definition statuses.cpp:11
byte fuelPressure
Definition statuses.h:241
unsigned int clutchEngagedRPM
Definition statuses.h:210
volatile uint32_t startRevolutions
Definition statuses.h:212
unsigned int PW5
In uS.
Definition statuses.h:198
volatile bool tachoAlt
Definition statuses.h:69
uint16_t boostDuty
Boost Duty percentage value * 100 to give 2 points of precision.
Definition statuses.h:218
volatile bool isToothLog1Full
Boost Cut status: true == active, false == inactive.
Definition statuses.h:125
bool previousClutchTrigger
Definition statuses.h:63
byte battery10
Definition statuses.h:98
bool commCompat
Definition statuses.h:164
volatile byte runSecs
Definition statuses.h:202
uint16_t iatADC
Definition statuses.h:92
int8_t advance1
Definition statuses.h:100
uint16_t RPM
RPM - Current Revs per minute.
Definition statuses.h:71
bool flatShiftSoftCut
Is the flat shift soft cut active (true) or not (false)
Definition statuses.h:170
bool softLaunchActive
Soft Launch status: true == on, false == off.
Definition statuses.h:133
long longRPM
RPM as long int (gets assigned to / maintained in statuses.RPM as well)
Definition statuses.h:73
bool stagingActive
Is fuel injection staging active (true) or not (false)
Definition statuses.h:162
bool hardLaunchActive
Hard Launch status: true == on, false == off.
Definition statuses.h:130
byte wmiPW
Definition statuses.h:284
bool aseIsActive
Is After Start Enrichment (ASE) active (true) or not (false)
Definition statuses.h:182
bool vssUiRefresh
Flag to indicate that the VSS value needs to be refreshed in the UI.
Definition statuses.h:146
volatile int8_t fuelTemp
Definition statuses.h:118
byte vvt1TargetAngle
Definition statuses.h:234
byte RPMdiv100
RPM value scaled (divided by 100) to fit a byte (0-255, e.g. 12000 => 120)
Definition statuses.h:72
bool sdCardPresent
true if a card is present, false if not
Definition statuses.h:293
uint16_t corrections
Definition statuses.h:102
long vvt2Duty
Definition statuses.h:287
byte fanDuty
Definition statuses.h:283
uint8_t LOOP_TIMER
The timer flags currently in effect.
Definition statuses.h:343
uint8_t TPS
Definition statuses.h:78
byte outputsStatus
Definition statuses.h:288
decoder_t decoder
The current decoder.
Definition statuses.h:341
bool idleOn
Is the idle code active : true == active, false == inactive.
Definition statuses.h:137
byte afrTarget
Definition statuses.h:113
bool launchingHard
Definition statuses.h:206
volatile int rpmDOT
Definition statuses.h:83
byte fuelTempCorrection
Definition statuses.h:111
bool softLimitActive
Soft limit status: true == on, false == off.
Definition statuses.h:135
bool airconCltLockout
Indicates the A/C is locked out either due to high coolant temp.
Definition statuses.h:319
byte nitrous_status
Definition statuses.h:224
unsigned int PW2
In uS.
Definition statuses.h:195
bool isAcceleratingTPS
Are we accelerating (true) or not (false), based on TPS.
Definition statuses.h:188
uint8_t systemTemp
Definition statuses.h:323
int16_t tpsDOT
Definition statuses.h:80
uint8_t O2_2
Definition statuses.h:88
uint16_t freeRAM
Definition statuses.h:208
bool sdCardError
true if error, false if not
Definition statuses.h:301
byte compositeTriggerUsed
Definition statuses.h:232
byte egoCorrection
Definition statuses.h:104
int16_t flexBoostCorrection
Definition statuses.h:223
bool initialisationComplete
Tracks whether the setup() function has run completely.
Definition statuses.h:59
int8_t flexIgnCorrection
Definition statuses.h:112
byte idleLoad
Either the current steps or current duty cycle for the idle control.
Definition statuses.h:219
uint16_t O2_2ADC
Definition statuses.h:94
bool airconCompressorOn
Indicates whether the A/C compressor is running.
Definition statuses.h:311
byte iatCorrection
Definition statuses.h:107
uint8_t O2
Definition statuses.h:87
bool allowLegacyComms
Definition statuses.h:166
uint16_t injAngle
Definition statuses.h:236
long MAP
Manifold absolute pressure. Has to be a long for PID calcs (Boost control)
Definition statuses.h:75
volatile bool tachoSweepEnabled
Definition statuses.h:67
uint16_t crankRPM
Definition statuses.h:222
uint8_t baro
Barometric pressure is simply the initial MAP reading, taken before the engine is running....
Definition statuses.h:77
engine_protect_flags_t engineProtect
Definition statuses.h:279
volatile byte ethanolPct
Definition statuses.h:117
unsigned int PW7
In uS.
Definition statuses.h:200
uint16_t AEamount
Definition statuses.h:103
uint8_t maxInjOutputs
Definition statuses.h:327
uint16_t cltADC
Definition statuses.h:90
uint16_t O2ADC
Definition statuses.h:93
bool isDFCOActive
Deceleration Fuel Cut Off status: true == active, false == inactive.
Definition statuses.h:123
unsigned int sdCardType
0==SD, 1==SDHC
Definition statuses.h:295
unsigned int nSquirtsStatus
Definition statuses.h:148