![]() |
AVR SD Safety Framework 1.0.0
|
Contains API prototypes for Error Handler callback examples. More...
Files | |
| file | error_handler_callbacks_example.c |
| Implements APIs for Error Handler Callbacks. | |
| file | error_handler_callbacks_example.h |
| Contains API prototypes for Error Handler callback examples. | |
Functions | |
| void | EH_NonCriticalErrorExampleCallback (errId_t id) |
| Placeholder implementation of a NON_CRITICAL Error Handler callback function. | |
| void | EH_NotificationErrorExampleCallback (errId_t id) |
| Placeholder implementation of a NOTIFICATION Error Handler callback function. | |
Contains API prototypes for Error Handler callback examples.
| void EH_NonCriticalErrorExampleCallback | ( | errId_t | id | ) |
Placeholder implementation of a NON_CRITICAL Error Handler callback function.
The example implementation is intentionally left empty, as the appropriate handling is highly application specific and would require initialization of peripherals such as USART or a debug print interface before use.
This callback can be called by the Error Handler when a NON_CRITICAL error is reported for application-specific error handling. Possible uses include:
An application-specific error handling callback should be implemented for proper error handling.
Ensure that any hardware or software resources required by this callback for error recovery or diagnostics are fully initialized before this callback is invoked the first time. Refer to TM_Startup for startup sequencing details.
| id | Error ID indicating the cause of the NON_CRITICAL error. |
| void EH_NotificationErrorExampleCallback | ( | errId_t | id | ) |
Placeholder implementation of a NOTIFICATION Error Handler callback function.
The example implementation is intentionally left empty, as the appropriate handling is highly application specific and would require initialization of peripherals such as USART or a debug print interface before use.
This callback can be called by the Error Handler during processing of the notification error log for application-specific handling of NOTIFICATION errors. Possible uses include:
An application-specific error handling callback should be implemented for proper error handling.
Ensure that any hardware or software resources required by this callback for error recovery or diagnostics are fully initialized before this callback is invoked the first time. Refer to TM_Startup for startup sequencing details.
| id | Error ID indicating the cause of the NOTIFICATION error. |