SAE Teensy ECU
IIT SAE Microcontroller programming
|
Fault checking functionality. More...
Functions | |
bool | hardFault (void) |
Checks if any serious fault has occurred. | |
bool | softFault (void) |
Check if any non-serious fault has occurred. | |
bool | anyFault (void) |
Checks both hardFault and softFault. | |
void | logFault (void) |
Interprets and logs the last fault that was checked using the Log library. | |
bool Fault::anyFault | ( | void | ) |
Checks both hardFault and softFault.
bool Fault::hardFault | ( | void | ) |
Checks if any serious fault has occurred.
void Fault::logFault | ( | void | ) |
Interprets and logs the last fault that was checked using the Log library.
bool Fault::softFault | ( | void | ) |
Check if any non-serious fault has occurred.