FuSa 8-Bit Libraries Safety Framework
Loading...
Searching...
No Matches
error_handler_config.c File Reference

Defines and initializes configurations for the Error Handler. More...

Go to the source code of this file.

Variables

const errCrit_t errorIdCritLut [ERRID_MAX]
 Configures the criticality of all Error IDs for handling in EH_HandleError.
const errCallback_t nonCriticalErrorCallback = &EH_NonCriticalErrorExampleCallback
 Configures the callback function used for 'NON_CRITICAL' Error IDs in EH_HandleError.
const errCallback_t notificationErrorCallback = &EH_NotificationErrorExampleCallback
 Configures the callback function used for 'NOTIFICATION' Error IDs in EH_ProcessNotificationLog.

Detailed Description

Defines and initializes configurations for the Error Handler.

This file defines and initializes the external configuration constants used by the Error Handler. These constants are declared in error_handler_config.h and initialized here to ensure a single instance across all translation units using the configuration, maintaining a consistent configuration and preventing multiple definition errors during linkage.

Note
This file is designed to be modified to meet specific application requirements.

Definition in file error_handler_config.c.