4.2.3.1 diag_result_t
enum diag_result_t
This enumeration contains return codes for diagnostic tests.
| DIAG_PASS |
0x81U - Indicates that no fault was detected by the diagnostic. |
| DIAG_FAIL |
0x42U - Indicates that a fault was detected by the diagnostic. |
| DIAG_INVALID_ARG |
0x24U - Indicates that the diagnostic was not run successfully due to one or more invalid input arguments when calling the function. |
| DIAG_UNDEFINED |
0x7EU - Indicates that the result of the diagnostic is undefined due to incorrect usage of the API. |
| DIAG_NVM_STORE_ERROR |
0xBDU - Indicates that the NVM controller reported an error when attempting to write a value to non-volatile memory.
Note:
The enum values are chosen with a specific bit pattern to not overlap with the March diagnostic data backgrounds to avoid accedenally reporting an incorrect result. |
