37 const errId_t validId = DetermineValidErrorId(flag,
id);
38 const errCrit_t criticality = DetermineErrorIdCriticality(validId);
Define for criticality of specific errors.
errCrit_t
Defines criticality levels used by EH_HandleError to determine the appropriate response for each repo...
errFlag_t
Defines the error flag used by Middleware services to indicate error detection.
errId_t
Defines unique Error IDs for reporting system errors to EH_HandleError.
Contains API prototypes for Error Handler Actions.
const errCallback_t nonCriticalErrorCallback
Configures the callback function used for 'NON_CRITICAL' Error IDs in EH_HandleError.
const errCrit_t errorIdCritLut[ERRID_MAX]
Configures the criticality of all Error IDs for handling in EH_HandleError.
const errCallback_t notificationErrorCallback
Configures the callback function used for 'NOTIFICATION' Error IDs in EH_ProcessNotificationLog.
void EH_ProcessNotificationLog(void)
Processes all Error IDs in the log by calling the configured handler callback.
errId_t EH_PopNotificationLog(void)
Pops the last Error ID from the Notification Error Log for error handling.
void EH_HandleError(errFlag_t flag, errId_t id)
Handles error based on configured Error ID criticality if the error flag is set.
void EH_PushNotificationLog(errId_t id)
Pushes Error ID to the Notification Error Log for later handling.
void EH_InitiateSafeState(errId_t id)
Transitions the system into a Safe State and resets the device.