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