3.1.3 Failure Handling
The library is responsible for alerting the operator when it detects the presence of a failure mode which might threaten the safeness of the application.
If the diagnosed failure mode has been detected on execution of an API function, the diagnostic routine returns status through C-language return code.
- DIAG_TEST_NOT_EXECUTED - Not executed results .
- DIAG_TEST_PASSED - Successful completion
- DIAG_TEST_FAILED - Unsuccessful completion results
- DIAG_TEST_IN_PROGRESS - In progress completion results in a potential interrupt callback. The callback will return a success or failure depending on the diagnostic.
- DIAG_TEST_DEVICE_CHECK_FAILED - SL3 hardware not present
Note: It is the responsibility of the System Integrator to take
further action on failure handling.
