FreeEMS  0.2.0-SNAPSHOT-285-g028e24c
Macros
syncLossIDs.h File Reference

Predefined sync loss IDs to make it easy to lookup and diagnose issues. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define BUG_REACHED_UNREACHABLE_CODE   0xFF
#define PLL_LOCK_LOST_PRECAUTIONARY   0xFE
#define SELF_CLOCK_MODE_PRECAUTIONARY   0xFD
#define EVENT_ARRIVAL_TIMEOUT   0
#define PRIMARY_EVENT_ARRIVED_TOO_LATE   1
#define PRIMARY_EVENT_ARRIVED_TOO_EARLY   2
#define SECONDARY_EVENT_ARRIVED_TOO_LATE   3
#define SECONDARY_EVENT_ARRIVED_TOO_EARLY   4
#define COUNT_OF_EVENTS_IMPOSSIBLY_LOW_NOISE   5
#define COUNT_OF_EVENTS_IMPOSSIBLY_HIGH_NOISE   6
#define STATE_MISMATCH_IN_PRIMARY_RPM_ISR   7
#define STATE_MISMATCH_IN_SECONDARY_RPM_ISR   8
#define FellThrough   64
#define MatchedPair   4
#define NarrowWide   6
#define WideNarrow   7
#define NarrowBackward   8
#define BackwardNarrow   5
#define NarrowTooWide   65
#define TooWideNarrow   66
#define MaskBySumPattern   0x05
#define MatchedPairMatchedPair   68
#define MatchedPairNarrowWide   70
#define NarrowWideWideNarrow   103
#define WideNarrowMatchedPair   116
#define MatchedPairMatchedPairPlusMask   73
#define MatchedPairNarrowWidePlusMask   75
#define NarrowWideWideNarrowPlusMask   108
#define WideNarrowMatchedPairPlusMask   121
#define yourVRSensorHasALoosePlugFixIt   NarrowTooWide
#define noiseAppearedWayTooEarlyAsIfItWasAVRToothButWasnt   TooWideNarrow
#define yourSyncToleranceIsTighterThanAWellYouGetTheIdea   FellThrough
#define yourSyncToleranceIsLooserThanAWellYouGetTheIdea   MatchedPairMatchedPair
#define NearlySyncedNarrowWideBackwardNarrow   101
#define NearlySyncedNarrowBackwardWideNarrow   135
#define NearlySyncedNarrowBackwardBackwardNarrow   133
#define NearlySyncedMatchedPairNarrowBackward   72
#define NearlySyncedBackwardNarrowMatchedPair   84
#define ExtraToothWideNarrowNarrowWide   118
#define ExtraToothWideNarrowNarrowBackward   120
#define ExtraToothBackwardNarrowNarrowWide   86
#define ExtraToothBackwardNarrowNarrowBackward   88
#define VRWiringBackwardMatchedPairBackwardNarrow   69
#define VRWiringBackwardMatchedPairWideNarrow   71
#define VRWiringBackwardNarrowWideMatchedPair   100
#define VRWiringBackwardNarrowBackwardMatchedPair   132
#define ExcessDecelerationNarrowBackwardNarrowBackward   136
#define ExcessDecelerationNarrowBackwardNarrowWide   134
#define ExcessDecelerationNarrowWideNarrowBackward   104
#define ExcessDecelerationNarrowWideNarrowWide   102
#define ExcessAccelerationBackwardNarrowBackwardNarrow   85
#define ExcessAccelerationBackwardNarrowWideNarrow   87
#define ExcessAccelerationWideNarrowBackwardNarrow   117
#define ExcessAccelerationWideNarrowWideNarrow   119
#define NearlySyncedNarrowWideBackwardNarrowPlusMask   106
#define NearlySyncedNarrowBackwardWideNarrowPlusMask   140
#define NearlySyncedNarrowBackwardBackwardNarrowPlusMask   138
#define NearlySyncedMatchedPairNarrowBackwardPlusMask   77
#define NearlySyncedBackwardNarrowMatchedPairPlusMask   89
#define ExtraToothWideNarrowNarrowWidePlusMask   123
#define ExtraToothWideNarrowNarrowBackwardPlusMask   125
#define ExtraToothBackwardNarrowNarrowWidePlusMask   91
#define ExtraToothBackwardNarrowNarrowBackwardPlusMask   93
#define VRWiringBackwardMatchedPairBackwardNarrowPlusMask   74
#define VRWiringBackwardMatchedPairWideNarrowPlusMask   76
#define VRWiringBackwardNarrowWideMatchedPairPlusMask   105
#define VRWiringBackwardNarrowBackwardMatchedPairPlusMask   137
#define ExcessDecelerationNarrowBackwardNarrowBackwardPlusMask   141
#define ExcessDecelerationNarrowBackwardNarrowWidePlusMask   139
#define ExcessDecelerationNarrowWideNarrowBackwardPlusMask   109
#define ExcessDecelerationNarrowWideNarrowWidePlusMask   107
#define ExcessAccelerationBackwardNarrowBackwardNarrowPlusMask   90
#define ExcessAccelerationBackwardNarrowWideNarrowPlusMask   92
#define ExcessAccelerationWideNarrowBackwardNarrowPlusMask   122
#define ExcessAccelerationWideNarrowWideNarrowPlusMask   124

Detailed Description

Predefined sync loss IDs to make it easy to lookup and diagnose issues.

Definition in file syncLossIDs.h.

Macro Definition Documentation

#define BUG_REACHED_UNREACHABLE_CODE   0xFF

Definition at line 43 of file syncLossIDs.h.

Referenced by SecondaryRPMISR().

#define PLL_LOCK_LOST_PRECAUTIONARY   0xFE

Definition at line 44 of file syncLossIDs.h.

Referenced by PLLLockISR().

#define SELF_CLOCK_MODE_PRECAUTIONARY   0xFD

Definition at line 45 of file syncLossIDs.h.

Referenced by PLLLockISR(), and SelfClockISR().

#define EVENT_ARRIVAL_TIMEOUT   0

Definition at line 48 of file syncLossIDs.h.

Referenced by main().

#define PRIMARY_EVENT_ARRIVED_TOO_LATE   1

Definition at line 51 of file syncLossIDs.h.

Referenced by PrimaryRPMISR().

#define PRIMARY_EVENT_ARRIVED_TOO_EARLY   2

Definition at line 52 of file syncLossIDs.h.

Referenced by PrimaryRPMISR().

#define SECONDARY_EVENT_ARRIVED_TOO_LATE   3

Definition at line 53 of file syncLossIDs.h.

Referenced by SecondaryRPMISR().

#define SECONDARY_EVENT_ARRIVED_TOO_EARLY   4

Definition at line 54 of file syncLossIDs.h.

Referenced by SecondaryRPMISR().

#define COUNT_OF_EVENTS_IMPOSSIBLY_LOW_NOISE   5

Definition at line 57 of file syncLossIDs.h.

Referenced by SecondaryRPMISR().

#define COUNT_OF_EVENTS_IMPOSSIBLY_HIGH_NOISE   6

Definition at line 58 of file syncLossIDs.h.

Referenced by PrimaryRPMISR(), and SecondaryRPMISR().

#define STATE_MISMATCH_IN_PRIMARY_RPM_ISR   7

Definition at line 61 of file syncLossIDs.h.

Referenced by PrimaryRPMISR().

#define STATE_MISMATCH_IN_SECONDARY_RPM_ISR   8

Definition at line 62 of file syncLossIDs.h.

Referenced by SecondaryRPMISR().

#define FellThrough   64

Definition at line 67 of file syncLossIDs.h.

#define MatchedPair   4

Definition at line 68 of file syncLossIDs.h.

Referenced by PrimaryRPMISR().

#define NarrowWide   6

Definition at line 69 of file syncLossIDs.h.

Referenced by PrimaryRPMISR().

#define WideNarrow   7

Definition at line 70 of file syncLossIDs.h.

Referenced by PrimaryRPMISR().

#define NarrowBackward   8

Definition at line 71 of file syncLossIDs.h.

Referenced by PrimaryRPMISR().

#define BackwardNarrow   5

Definition at line 72 of file syncLossIDs.h.

Referenced by PrimaryRPMISR().

#define NarrowTooWide   65

Definition at line 73 of file syncLossIDs.h.

#define TooWideNarrow   66

Definition at line 74 of file syncLossIDs.h.

#define MaskBySumPattern   0x05

Definition at line 77 of file syncLossIDs.h.

Referenced by PrimaryRPMISR().

#define MatchedPairMatchedPair   68

Definition at line 86 of file syncLossIDs.h.

Referenced by PrimaryRPMISR().

#define MatchedPairNarrowWide   70

Definition at line 87 of file syncLossIDs.h.

Referenced by PrimaryRPMISR().

#define NarrowWideWideNarrow   103

Definition at line 88 of file syncLossIDs.h.

Referenced by PrimaryRPMISR().

#define WideNarrowMatchedPair   116

Definition at line 89 of file syncLossIDs.h.

Referenced by PrimaryRPMISR().

#define MatchedPairMatchedPairPlusMask   73

Definition at line 92 of file syncLossIDs.h.

#define MatchedPairNarrowWidePlusMask   75

Definition at line 93 of file syncLossIDs.h.

#define NarrowWideWideNarrowPlusMask   108

Definition at line 94 of file syncLossIDs.h.

#define WideNarrowMatchedPairPlusMask   121

Definition at line 95 of file syncLossIDs.h.

#define yourVRSensorHasALoosePlugFixIt   NarrowTooWide

Definition at line 98 of file syncLossIDs.h.

Referenced by PrimaryRPMISR().

#define noiseAppearedWayTooEarlyAsIfItWasAVRToothButWasnt   TooWideNarrow

Definition at line 99 of file syncLossIDs.h.

Referenced by PrimaryRPMISR().

#define yourSyncToleranceIsTighterThanAWellYouGetTheIdea   FellThrough

Definition at line 100 of file syncLossIDs.h.

Referenced by PrimaryRPMISR().

#define yourSyncToleranceIsLooserThanAWellYouGetTheIdea   MatchedPairMatchedPair

Definition at line 101 of file syncLossIDs.h.

Referenced by PrimaryRPMISR().

#define NearlySyncedNarrowWideBackwardNarrow   101

Definition at line 104 of file syncLossIDs.h.

#define NearlySyncedNarrowBackwardWideNarrow   135

Definition at line 105 of file syncLossIDs.h.

#define NearlySyncedNarrowBackwardBackwardNarrow   133

Definition at line 106 of file syncLossIDs.h.

#define NearlySyncedMatchedPairNarrowBackward   72

Definition at line 107 of file syncLossIDs.h.

#define NearlySyncedBackwardNarrowMatchedPair   84

Definition at line 108 of file syncLossIDs.h.

#define ExtraToothWideNarrowNarrowWide   118

Definition at line 109 of file syncLossIDs.h.

#define ExtraToothWideNarrowNarrowBackward   120

Definition at line 110 of file syncLossIDs.h.

#define ExtraToothBackwardNarrowNarrowWide   86

Definition at line 111 of file syncLossIDs.h.

#define ExtraToothBackwardNarrowNarrowBackward   88

Definition at line 112 of file syncLossIDs.h.

#define VRWiringBackwardMatchedPairBackwardNarrow   69

Definition at line 113 of file syncLossIDs.h.

#define VRWiringBackwardMatchedPairWideNarrow   71

Definition at line 114 of file syncLossIDs.h.

#define VRWiringBackwardNarrowWideMatchedPair   100

Definition at line 115 of file syncLossIDs.h.

#define VRWiringBackwardNarrowBackwardMatchedPair   132

Definition at line 116 of file syncLossIDs.h.

#define ExcessDecelerationNarrowBackwardNarrowBackward   136

Definition at line 117 of file syncLossIDs.h.

#define ExcessDecelerationNarrowBackwardNarrowWide   134

Definition at line 118 of file syncLossIDs.h.

#define ExcessDecelerationNarrowWideNarrowBackward   104

Definition at line 119 of file syncLossIDs.h.

#define ExcessDecelerationNarrowWideNarrowWide   102

Definition at line 120 of file syncLossIDs.h.

#define ExcessAccelerationBackwardNarrowBackwardNarrow   85

Definition at line 121 of file syncLossIDs.h.

#define ExcessAccelerationBackwardNarrowWideNarrow   87

Definition at line 122 of file syncLossIDs.h.

#define ExcessAccelerationWideNarrowBackwardNarrow   117

Definition at line 123 of file syncLossIDs.h.

#define ExcessAccelerationWideNarrowWideNarrow   119

Definition at line 124 of file syncLossIDs.h.

#define NearlySyncedNarrowWideBackwardNarrowPlusMask   106

Definition at line 127 of file syncLossIDs.h.

#define NearlySyncedNarrowBackwardWideNarrowPlusMask   140

Definition at line 128 of file syncLossIDs.h.

#define NearlySyncedNarrowBackwardBackwardNarrowPlusMask   138

Definition at line 129 of file syncLossIDs.h.

#define NearlySyncedMatchedPairNarrowBackwardPlusMask   77

Definition at line 130 of file syncLossIDs.h.

#define NearlySyncedBackwardNarrowMatchedPairPlusMask   89

Definition at line 131 of file syncLossIDs.h.

#define ExtraToothWideNarrowNarrowWidePlusMask   123

Definition at line 132 of file syncLossIDs.h.

#define ExtraToothWideNarrowNarrowBackwardPlusMask   125

Definition at line 133 of file syncLossIDs.h.

#define ExtraToothBackwardNarrowNarrowWidePlusMask   91

Definition at line 134 of file syncLossIDs.h.

#define ExtraToothBackwardNarrowNarrowBackwardPlusMask   93

Definition at line 135 of file syncLossIDs.h.

#define VRWiringBackwardMatchedPairBackwardNarrowPlusMask   74

Definition at line 136 of file syncLossIDs.h.

#define VRWiringBackwardMatchedPairWideNarrowPlusMask   76

Definition at line 137 of file syncLossIDs.h.

#define VRWiringBackwardNarrowWideMatchedPairPlusMask   105

Definition at line 138 of file syncLossIDs.h.

#define VRWiringBackwardNarrowBackwardMatchedPairPlusMask   137

Definition at line 139 of file syncLossIDs.h.

#define ExcessDecelerationNarrowBackwardNarrowBackwardPlusMask   141

Definition at line 140 of file syncLossIDs.h.

#define ExcessDecelerationNarrowBackwardNarrowWidePlusMask   139

Definition at line 141 of file syncLossIDs.h.

#define ExcessDecelerationNarrowWideNarrowBackwardPlusMask   109

Definition at line 142 of file syncLossIDs.h.

#define ExcessDecelerationNarrowWideNarrowWidePlusMask   107

Definition at line 143 of file syncLossIDs.h.

#define ExcessAccelerationBackwardNarrowBackwardNarrowPlusMask   90

Definition at line 144 of file syncLossIDs.h.

#define ExcessAccelerationBackwardNarrowWideNarrowPlusMask   92

Definition at line 145 of file syncLossIDs.h.

#define ExcessAccelerationWideNarrowBackwardNarrowPlusMask   122

Definition at line 146 of file syncLossIDs.h.

#define ExcessAccelerationWideNarrowWideNarrowPlusMask   124

Definition at line 147 of file syncLossIDs.h.