27#ifndef MIDWARE_WATCHDOG_MANAGER_H
28#define MIDWARE_WATCHDOG_MANAGER_H
193void MW_EnableSwdt(
bool useCcp,
bool useLock,
bool useInstrMode);
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.
void MW_PreClearSwdt(void)
Sends a PRECLEAR command to the Synchronous Watchdog.
errFlag_t MW_SetWdtTimeout(wdtTimeout_t window, wdtTimeout_t period)
Configures and enables the Watchdog Timer in either Normal or Window mode.
void MW_ClearSwdt(void)
Sends a CLEAR command to the Synchronous Watchdog.
errFlag_t MW_GetSwdtClearError(void)
Reads the error flag indicating a non-clear command received while expecting a clear command in the S...
void MW_EnableSwdt(bool useCcp, bool useLock, bool useInstrMode)
Enables the Synchronous Watchdog Timer with the provided configurations.
errFlag_t MW_GetSwdtCounterExpiredError(void)
Reads the error flag indicating that the Synchronous Watchdog counter expired.
wdtTimeout_t
Defines available timeout configurations for the Watchdog Timer.
errFlag_t MW_SetSwdtResetValue(uint32_t resetVal)
Sets the Synchronous Watchdog Timer countdown reset value.
void MW_EnableSwdtInterrupts(void)
Enables all Synchronous Watchdog error interrupts.
errFlag_t MW_GetSwdtPreclearError(void)
Reads the error flag indicating a non-preclear command received while expecting a preclear command in...
void MW_ClearWdt(void)
Clears the Watchdog Timer by issuing a Watchdog Reset (WDR) instruction.
errFlag_t MW_SetSwdtWindowValue(uint16_t window)
Sets the Synchronous Watchdog Timer open window value.
void MW_ClearSwdtErrors(void)
Clears all the error flags in the Synchronous Watchdog.
errFlag_t MW_GetSwdtUnexpectedCmdError(void)
Reads the error flag indicating a clear command received in the closed window after a preclear comman...