WDT Timer Peripheral Driver. More...
|
Modules | |
| xWDT | |
CoX WDT Peripheral Interface. | |
WDT Timer Peripheral Driver.
The purpose of WDT Timer is to perform a system reset when system runs into an unknown state. This prevents system from hanging for an infinite period of time. Besides, this WDT Timer supports another function of wake-up chip from power down mode. The WDT includes an 18-bit free running counter with programmed time-out intervals.
When WDT interrupt enables and the counter reaches the selected time-out interval, mcu will receive an interrupt request form WDT and enter into interrupt handler.
When mcu enters into the power down mode and WDT counter reaches the selected time-out interval, WDT will occur an interrupt and wake up mcu form power down mode after wake-up interrupt function enables.
When WDT counter reaches the selected time-out interval and user hasn't resetted the ounter in a specified delay time, the chip will be resetted after restart function enables.
If this function enables, WDT Timer counter will keep going no matter whether the ICE Debugger mode is acknowledged or not.
The WDT can be used to reset chip, wake up mcu, etc.