![]() |
FuSa 8-Bit Libraries Safety Framework
|
Implements APIs for the Watchdog Manager diagnostics. More...
#include <stdbool.h>#include <stdint.h>#include <define_error_flags.h>#include <driver_cpuctrl.h>#include <driver_errctrl.h>#include <driver_swdt.h>#include <driver_wdt.h>#include <midware_shared_diag_private.h>#include <midware_watchdog_manager_diag.h>#include <xc.h>Go to the source code of this file.
Macros | |
| #define | UINT24_MAX 0x00FFFFFFUL |
| Defines max value for 24-bit registers. | |
Functions | |
| errFlag_t | MW_DiagSwdtCount (void) |
| Performs diagnostic to detect faults in the Synchronous Watchdog Timer (SWDT) Counter mechanism. | |
| errFlag_t | MW_DiagSwdtExpire (uint32_t newReset) |
| Performs error injection diagnostic to detect faults in the Synchronous Watchdog Timer (SWDT) Expire mechanism. | |
| void | MW_DiagWdtCountBegin (void) |
| Begins diagnostic to detect faults in the Watchdog Timer (WDT) Counter mechanism. | |
| bool | MW_IsDiagWdtCountOngoing (void) |
| Checks whether the Watchdog Timer (WDT) Count diagnostic is ongoing. | |
| errFlag_t | MW_DiagWdtCountEnd (void) |
| Completes diagnostic to detect faults in the Watchdog Timer (WDT) Counter mechanism. | |
| errFlag_t | MW_DiagWdtExpire (void) |
| Performs error injection diagnostic to detect faults in the Watchdog Timer (WDT) Expire mechanism. | |
Implements APIs for the Watchdog Manager diagnostics.
Definition in file midware_watchdog_manager_diag.c.