FreeEMS  0.2.0-SNAPSHOT-285-g028e24c
Data Fields
Flaggable Struct Reference

These should all stay at zero, thus they are incremented through a mechanism that also sets a flag in a special variable. More...

#include <counterTypes.h>

Data Fields

unsigned char callsToUISRs
 to ensure we aren't accidentally triggering unused ISRs.
unsigned char lowVoltageConditions
 low voltage conditions.
unsigned char decoderSyncLosses
 Number of times cam, crank or combustion sync is lost.
unsigned char decoderSyncsNotConfirmed
 How many times we cleared sync state without having yet accumulated enough confirmations.
unsigned char decoderSyncStateClears
 Sync loss called when not synced yet, thus discarding data and preventing sync.
unsigned char serialNoiseErrors
 Incremented when noise is detected.
unsigned char serialFramingErrors
 Incremented when a framing error occurs.
unsigned char serialParityErrors
 Incremented when a parity error occurs.
unsigned char serialOverrunErrors
 Incremented when overrun occurs (duplicated in KeyUserDebug below)
unsigned char serialEscapePairMismatches
 Incremented when an escape is found but not followed by an escapee.
unsigned char serialStartsInsideAPacket
 Incremented when a start byte is found inside a packet.
unsigned char serialPacketsOverLength
 Incremented when the buffer fills up before the end.
unsigned char serialChecksumMismatches
 Incremented when calculated checksum did not match the received one.
unsigned char serialPacketsUnderLength
 Incremented when a packet is found that is too short.
unsigned char phaseLockedLoopLockLost
 Incremented when PLL lock is lost.
unsigned char selfClockModeEntered
 Incremented when the MCU loses main clock.

Detailed Description

These should all stay at zero, thus they are incremented through a mechanism that also sets a flag in a special variable.

Definition at line 51 of file counterTypes.h.

Field Documentation

unsigned char Flaggable::callsToUISRs

to ensure we aren't accidentally triggering unused ISRs.

Definition at line 53 of file counterTypes.h.

unsigned char Flaggable::lowVoltageConditions

low voltage conditions.

Definition at line 54 of file counterTypes.h.

unsigned char Flaggable::decoderSyncLosses

Number of times cam, crank or combustion sync is lost.

Definition at line 59 of file counterTypes.h.

unsigned char Flaggable::decoderSyncsNotConfirmed

How many times we cleared sync state without having yet accumulated enough confirmations.

Definition at line 60 of file counterTypes.h.

unsigned char Flaggable::decoderSyncStateClears

Sync loss called when not synced yet, thus discarding data and preventing sync.

Definition at line 61 of file counterTypes.h.

unsigned char Flaggable::serialNoiseErrors

Incremented when noise is detected.

Definition at line 67 of file counterTypes.h.

unsigned char Flaggable::serialFramingErrors

Incremented when a framing error occurs.

Definition at line 68 of file counterTypes.h.

unsigned char Flaggable::serialParityErrors

Incremented when a parity error occurs.

Definition at line 69 of file counterTypes.h.

unsigned char Flaggable::serialOverrunErrors

Incremented when overrun occurs (duplicated in KeyUserDebug below)

Definition at line 75 of file counterTypes.h.

unsigned char Flaggable::serialEscapePairMismatches

Incremented when an escape is found but not followed by an escapee.

Definition at line 79 of file counterTypes.h.

unsigned char Flaggable::serialStartsInsideAPacket

Incremented when a start byte is found inside a packet.

Definition at line 80 of file counterTypes.h.

unsigned char Flaggable::serialPacketsOverLength

Incremented when the buffer fills up before the end.

Definition at line 81 of file counterTypes.h.

unsigned char Flaggable::serialChecksumMismatches

Incremented when calculated checksum did not match the received one.

Definition at line 82 of file counterTypes.h.

unsigned char Flaggable::serialPacketsUnderLength

Incremented when a packet is found that is too short.

Definition at line 83 of file counterTypes.h.

unsigned char Flaggable::phaseLockedLoopLockLost

Incremented when PLL lock is lost.

Definition at line 90 of file counterTypes.h.

unsigned char Flaggable::selfClockModeEntered

Incremented when the MCU loses main clock.

Definition at line 91 of file counterTypes.h.


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