SAE Teensy ECU
IIT SAE Microcontroller programming
|
Configure fault checking. More...
Go to the source code of this file.
Macros | |
#define | HARD_PIN_FAULTS |
Defines Pins that should be checked for hard faults. | |
#define | SOFT_PIN_FAULTS |
Defines Pins that should be checked for hard faults. | |
#define | HARD_FAULT_ADD |
Defines CAN addresses that should be checked for hard faults. | |
#define | SOFT_FAULT_ADD |
Defines CAN addresses that should be checked for soft faults. | |
#define | CAN_FAULT_IDS |
Defines address bit field identifiers. | |
Configure fault checking.
This configuration defines all the faults to check for.
Definition in file FaultConfig.def.
#define CAN_FAULT_IDS |
Defines address bit field identifiers.
If a bit on an address has an identifier we will know exactly what fault occurred and can notify it through Log
Unless it is the last entry, this is how to add a new address
X(CAN address, bitmask, _LogPrebuildString(identity)) \
Only the last entry should NOT have a '\'
Definition at line 104 of file FaultConfig.def.
#define HARD_FAULT_ADD |
Defines CAN addresses that should be checked for hard faults.
Unless it is the last entry, this is how to add a new address
X(CAN address, mask, tag) \
Only the last entry should NOT have a '\'
Definition at line 71 of file FaultConfig.def.
#define HARD_PIN_FAULTS |
Defines Pins that should be checked for hard faults.
Unless it is the last entry, this is how to add a new address
X(pin, comparator, value, identity) \
Only the last entry should NOT have a '\'
Definition at line 37 of file FaultConfig.def.
#define SOFT_FAULT_ADD |
Defines CAN addresses that should be checked for soft faults.
Unless it is the last entry, this is how to add a new address
X(CAN address, mask, tag) \
Only the last entry should NOT have a '\'
Definition at line 86 of file FaultConfig.def.
#define SOFT_PIN_FAULTS |
Defines Pins that should be checked for hard faults.
Unless it is the last entry, this is how to add a new address
X(pin, comparator, value, identity) \
Only the last entry should NOT have a '\'
Definition at line 56 of file FaultConfig.def.