Functions | |
| uint8_t | SelfTest_Windowed_WDT (void) |
| This function checks the WDT in Window mode. | |
| uint8_t | SelfTest_Windowed_MCWDT (MCWDT_STRUCT_Type *base, cy_en_mcwdtctr_t counter) |
| Verifies the windowed WDT behaviour of the specified MCWDT sub-counter. | |
| uint8_t SelfTest_Windowed_WDT | ( | void | ) |
This function checks the WDT in Window mode.
It:
1) Services the WDT before the LOWER limit, which causes the device to reset.
2) Checks the occurance of interrupt at WARN LIMIT.
| uint8_t SelfTest_Windowed_MCWDT | ( | MCWDT_STRUCT_Type * | base, |
| cy_en_mcwdtctr_t | counter ) |
Verifies the windowed WDT behaviour of the specified MCWDT sub-counter.
It:
1) Services the MCWDT before the lower limit, which causes the device to reset (SWWDTx).
2) After the reset, verifies that the match interrupt fires at the configured match limit.
| base | Pointer to the MCWDT block base address (e.g. MCWDT_STRUCT0). |
| counter | Sub-counter to test. Valid values: CY_MCWDT_COUNTER0, CY_MCWDT_COUNTER1. |