SAE Teensy ECU
IIT SAE Microcontroller programming
|
Checks for defined faults from canbus addresses or pins. More...
#include <stdint.h>
#include <stdlib.h>
Go to the source code of this file.
Namespaces | |
namespace | Fault |
Fault checking functionality. | |
Functions | |
bool | Fault::hardFault (void) |
Checks if any serious fault has occurred. | |
bool | Fault::softFault (void) |
Check if any non-serious fault has occurred. | |
bool | Fault::anyFault (void) |
Checks both hardFault and softFault. | |
void | Fault::logFault (void) |
Interprets and logs the last fault that was checked using the Log library. | |
Checks for defined faults from canbus addresses or pins.
Faults are messages that indicate that somthing may be wrong in the general system.
Faults can come from either GPIO pins or CanBus, CanPins are not supported.
Definition in file Faults.h.