2.2 Error Monitoring
To keep track of the various error conditions, a bitfield indicates which errors have occurred. A list of the errors defined is in Table 2-1.
Name | Bit Number | Description |
---|---|---|
Unused | 7 | N/A |
Unused | 6 | N/A |
ERROR_MEMORY_WRITE_FAIL | 5 | NVM Write Failure |
ERROR_OUTPUT_BROWNOUT | 4 | Output voltage is between high and low thresholds |
ERROR_ILLEGAL_STATE | 3 | An invalid error code or an invalid state is detected |
ERROR_SELF_TEST_FAIL | 2 | Self-test failed |
ERROR_TRANSISTOR_SHORT | 1 | LAT and PORT mismatch on the transistor |
ERROR_RELAY_STUCK | 0 | The relay fails to switch within the expected time |