49static void HandleClockNotificationErrors(
void);
50static void HandleCpuNotificationErrors(
void);
51static void HandleMemoryNotificationErrors(
void);
52static void HandlePowerNotificationErrors(
void);
53static void HandleWatchdogNotificationErrors(
void);
54static void HandleEvsysNotificationErrors(
void);
62 HandleClockNotificationErrors();
63 HandleCpuNotificationErrors();
64 HandleMemoryNotificationErrors();
65 HandlePowerNotificationErrors();
66 HandleWatchdogNotificationErrors();
67 HandleEvsysNotificationErrors();
73static void HandleClockNotificationErrors(
void)
96static void HandleCpuNotificationErrors(
void)
114static void HandleMemoryNotificationErrors(
void)
143static void HandlePowerNotificationErrors(
void)
156static void HandleWatchdogNotificationErrors(
void)
164static void HandleEvsysNotificationErrors(
void)
185 if (newReset < newTimeout)
Define for criticality of specific errors.
Defines error flag type for indicating detected errors in Middleware services.
errFlag_t
Defines the error flag used by Middleware services to indicate error detection.
Defines for IDs associated with specific errors.
const errCrit_t errorIdCritLut[ERRID_MAX]
Configures the criticality of all Error IDs for handling in EH_HandleError.
void EH_ProcessNotificationLog(void)
Processes all Error IDs in the log by calling the configured handler callback.
void EH_HandleError(errFlag_t flag, errId_t id)
Handles error based on configured Error ID criticality if the error flag is set.
void ReportClearEepromChannelError(void)
Private function, only exposed for unit testing and should not be called directly.
void ReportClearFlash2ChannelError(void)
Private function, only exposed for unit testing and should not be called directly.
void ReportClearRam2ChannelError(void)
Private function, only exposed for unit testing and should not be called directly.
void ReportClearFlash1ChannelError(void)
Private function, only exposed for unit testing and should not be called directly.
void T_HandleSyncWatchdog(uint32_t newTimeout)
Waits until the current Synchronous Watchdog timeout is completed before clearing and setting the nex...
void ReportClearSwdtChannelError(void)
Private function, only exposed for unit testing and should not be called directly.
void ReportClearEvsys1ChannelError(void)
Private function, only exposed for unit testing and should not be called directly.
void ReportClearCfd0ChannelError(void)
Private function, only exposed for unit testing and should not be called directly.
void ReportClearRam1ChannelError(void)
Private function, only exposed for unit testing and should not be called directly.
void ReportClearVregwarnChannelError(void)
Private function, only exposed for unit testing and should not be called directly.
void ReportClearSplimChannelError(void)
Private function, only exposed for unit testing and should not be called directly.
void ReportClearBuserrChannelError(void)
Private function, only exposed for unit testing and should not be called directly.
void ReportClearOpcChannelError(void)
Private function, only exposed for unit testing and should not be called directly.
void ReportClearCfm0ChannelError(void)
Private function, only exposed for unit testing and should not be called directly.
void ReportClearCfd1ChannelError(void)
Private function, only exposed for unit testing and should not be called directly.
void ReportClearVregfailChannelError(void)
Private function, only exposed for unit testing and should not be called directly.
void T_HandleWatchdog(void)
Clears the Watchdog Timer (WDT) while performing the WDT count diagnostic.
void ReportClearCfm1ChannelError(void)
Private function, only exposed for unit testing and should not be called directly.
void ReportClearEvsys0ChannelError(void)
Private function, only exposed for unit testing and should not be called directly.
void T_HandleNotificationErrors(void)
Ensures Error IDs with 'NOTIFICATION' criticality are handled.
#define SWDT_OPEN_WINDOW
Configures the open window size used for the Synchronous Watchdog (SWDT).
#define DIAG_PERIODIC_SWDT_COUNT
Enables or disables execution of the SWDT count diagnostic in T_HandleSyncWatchdog.
#define DIAG_PERIODIC_WDT_COUNT
Enables or disables periodic completion of the WDT Count diagnostic in T_HandleWatchdog.
#define ENABLED
Used to enable optional Task features through macro configurations.
void MW_PreClearSwdt(void)
Sends a PRECLEAR command to the Synchronous Watchdog.
void MW_ClearSwdt(void)
Sends a CLEAR command to the Synchronous Watchdog.
errFlag_t MW_DiagSwdtCount(void)
Performs diagnostic to detect faults in the Synchronous Watchdog Timer (SWDT) Counter mechanism.
errFlag_t MW_SetSwdtResetValue(uint32_t resetVal)
Sets the Synchronous Watchdog Timer countdown reset value.
void MW_ClearWdt(void)
Clears the Watchdog Timer by issuing a Watchdog Reset (WDR) instruction.
errFlag_t MW_DiagWdtCountEnd(void)
Completes diagnostic to detect faults in the Watchdog Timer (WDT) Counter mechanism.
Contains API prototypes for the Watchdog Manager diagnostics.
Contains private function prototypes for tasks_shared.h.