FreeEMS  0.2.0-SNAPSHOT-282-g9efc524
Data Fields
KeyUserDebug Struct Reference

Important "always send" stuff for datalogging. More...

#include <containerTypes.h>

Data Fields

unsigned char tempClock
 Incremented once per log sent.
unsigned char spareChar
 Unused at this time.
unsigned char coreStatusA
 Duplicated, migrate here, remove global var.
unsigned char decoderFlags
 Various decoder state flags.
unsigned short flaggableFlags
 Flags to go with our flaggables struct.
unsigned char currentEvent
 Which input event was last to come in.
unsigned char syncLostWithThisID
 A unique identifier for the reason behind a loss of sync.
unsigned char syncLostOnThisEvent
 Where in the input pattern it all went very badly wrong.
unsigned char syncCaughtOnThisEvent
 Where in the input pattern that things started making sense.
unsigned char syncResetCalls
 Sum of sync losses and state clears.
unsigned char primaryTeethSeen
 Free running counters for number of input events, useful at lower RPM.
unsigned char secondaryTeethSeen
 Free running counters for number of input events, useful at lower RPM.
unsigned char serialOverrunErrors
 Incremented when an overrun occurs due to high interrupt load, not a fault, just a fact of life at high RPM.
unsigned char serialHardwareErrors
 Sum of noise, parity, and framing errors.
unsigned char serialAndCommsCodeErrors
 Sum of checksum, escape mismatches, starts inside, and over/under length.
unsigned short inputEventTimeTolerance
 Required to tune noise rejection over RPM TODO add to LT1 and MissingTeeth.
unsigned short flaggableFlags2
 Flags to go with our flaggables2 struct.
unsigned short zsp9
 Spare US variable.
unsigned short zsp8
 Spare US variable.
unsigned short zsp7
 Spare US variable.
unsigned short zsp6
 Spare US variable.
unsigned short blendAlphaNPercent
 TODO migrate to correct place once OLV/EMStudio are flexible...
unsigned short speedDensityAirFlow
 TODO migrate to correct place once OLV/EMStudio are flexible...
unsigned short alphaNAirFlow
 TODO migrate to correct place once OLV/EMStudio are flexible...
unsigned short clockInMilliSeconds
 Migrate to start of all large datalogs once analysed.
unsigned short clockIn8thsOfAMilli
 Migrate to start of all large datalogs once analysed.
unsigned char ignitionCuts
 Up to 8 reasons to not schedule ignition.
unsigned char injectionCuts
 Up to 8 reasons to not schedule injection.

Detailed Description

Important "always send" stuff for datalogging.

Definition at line 126 of file containerTypes.h.

Field Documentation

unsigned char KeyUserDebug::tempClock

Incremented once per log sent.

Definition at line 128 of file containerTypes.h.

Referenced by populateBasicDatalog().

unsigned char KeyUserDebug::spareChar

Unused at this time.

Definition at line 129 of file containerTypes.h.

unsigned char KeyUserDebug::coreStatusA

Duplicated, migrate here, remove global var.

Definition at line 132 of file containerTypes.h.

Referenced by populateBasicDatalog().

unsigned char KeyUserDebug::decoderFlags

Various decoder state flags.

Definition at line 133 of file containerTypes.h.

Referenced by PrimaryRPMISR(), resetToNonRunningState(), and SecondaryRPMISR().

unsigned short KeyUserDebug::flaggableFlags

Flags to go with our flaggables struct.

Definition at line 134 of file containerTypes.h.

Referenced by decodePacketAndRespond().

unsigned char KeyUserDebug::currentEvent

Which input event was last to come in.

Definition at line 138 of file containerTypes.h.

Referenced by decodePacketAndRespond(), PrimaryRPMISR(), resetToNonRunningState(), and SecondaryRPMISR().

unsigned char KeyUserDebug::syncLostWithThisID

A unique identifier for the reason behind a loss of sync.

Definition at line 139 of file containerTypes.h.

Referenced by PLLLockISR(), and resetToNonRunningState().

unsigned char KeyUserDebug::syncLostOnThisEvent

Where in the input pattern it all went very badly wrong.

Definition at line 140 of file containerTypes.h.

Referenced by resetToNonRunningState().

unsigned char KeyUserDebug::syncCaughtOnThisEvent

Where in the input pattern that things started making sense.

Definition at line 141 of file containerTypes.h.

unsigned char KeyUserDebug::syncResetCalls

Sum of sync losses and state clears.

Definition at line 142 of file containerTypes.h.

Referenced by resetToNonRunningState().

unsigned char KeyUserDebug::primaryTeethSeen

Free running counters for number of input events, useful at lower RPM.

Definition at line 143 of file containerTypes.h.

Referenced by PrimaryRPMISR(), and SecondaryRPMISR().

unsigned char KeyUserDebug::secondaryTeethSeen

Free running counters for number of input events, useful at lower RPM.

Definition at line 144 of file containerTypes.h.

Referenced by PrimaryRPMISR(), and SecondaryRPMISR().

unsigned char KeyUserDebug::serialOverrunErrors

Incremented when an overrun occurs due to high interrupt load, not a fault, just a fact of life at high RPM.

Definition at line 147 of file containerTypes.h.

Referenced by SCI0ISR().

unsigned char KeyUserDebug::serialHardwareErrors

Sum of noise, parity, and framing errors.

Definition at line 148 of file containerTypes.h.

Referenced by SCI0ISR().

unsigned char KeyUserDebug::serialAndCommsCodeErrors

Sum of checksum, escape mismatches, starts inside, and over/under length.

Definition at line 149 of file containerTypes.h.

Referenced by decodePacketAndRespond(), and SCI0ISR().

unsigned short KeyUserDebug::inputEventTimeTolerance

Required to tune noise rejection over RPM TODO add to LT1 and MissingTeeth.

Definition at line 150 of file containerTypes.h.

Referenced by PrimaryRPMISR(), and SecondaryRPMISR().

unsigned short KeyUserDebug::flaggableFlags2

Flags to go with our flaggables2 struct.

Definition at line 153 of file containerTypes.h.

Referenced by decodePacketAndRespond().

unsigned short KeyUserDebug::zsp9

Spare US variable.

Definition at line 156 of file containerTypes.h.

unsigned short KeyUserDebug::zsp8

Spare US variable.

Definition at line 157 of file containerTypes.h.

unsigned short KeyUserDebug::zsp7

Spare US variable.

Definition at line 158 of file containerTypes.h.

Referenced by PrimaryRPMISR().

unsigned short KeyUserDebug::zsp6

Spare US variable.

Definition at line 159 of file containerTypes.h.

unsigned short KeyUserDebug::blendAlphaNPercent

TODO migrate to correct place once OLV/EMStudio are flexible...

Definition at line 162 of file containerTypes.h.

Referenced by calculateFuelAndIgnition().

unsigned short KeyUserDebug::speedDensityAirFlow

TODO migrate to correct place once OLV/EMStudio are flexible...

Definition at line 163 of file containerTypes.h.

Referenced by calculateFuelAndIgnition().

unsigned short KeyUserDebug::alphaNAirFlow

TODO migrate to correct place once OLV/EMStudio are flexible...

Definition at line 164 of file containerTypes.h.

Referenced by calculateFuelAndIgnition().

unsigned short KeyUserDebug::clockInMilliSeconds

Migrate to start of all large datalogs once analysed.

Definition at line 167 of file containerTypes.h.

Referenced by populateBasicDatalog().

unsigned short KeyUserDebug::clockIn8thsOfAMilli

Migrate to start of all large datalogs once analysed.

Definition at line 168 of file containerTypes.h.

Referenced by populateBasicDatalog().

unsigned char KeyUserDebug::ignitionCuts

Up to 8 reasons to not schedule ignition.

Definition at line 169 of file containerTypes.h.

Referenced by calculateFuelAndIgnition(), PLLLockISR(), scheduleOutputs(), and SelfClockISR().

unsigned char KeyUserDebug::injectionCuts

Up to 8 reasons to not schedule injection.

Definition at line 170 of file containerTypes.h.

Referenced by calculateFuelAndIgnition(), PLLLockISR(), scheduleOutputs(), and SelfClockISR().


The documentation for this struct was generated from the following file: