nuvoton - M451 Window Watchdog Timer
Window Watchdog Timer 特性 6 bits 下數計數器和比較器 16 selections window watchdog timer 預除器 Only one time to set windows watchdog timer controller after chip power-on or reset. Watchdog Timer 和 Window Watchdog Timer share a single IRQ handler 支援 window watchdog timer interrupt 支援 window watchdog timer reset Window Watchdog Timer Clock Source HCLK0 / 2048 LIRC (10 KHz) LXT (32.768 KHz) Window Watchdog Timer Block Diagram 11-bit prescale controlled PSCSEL (WWDT_CTL[11:8]) 當 CNTDAT = CMPDAT,就會產生 WWDT interrupt。而且當 CNTDAT <= CMPDAT時,設定 WWDT_RLDCNT = 0x5AA5,CNTDAT 就會重新載入 0x3F. 當 CNTDAT 繼續下數到 0 時,會產生 MCU reset。 當 CNTDAT > CMPDAT, 設定 WWDT_RLDCNT = 0x5AA5,就會產生 MCU 的 reset。 Window Watchdog Timer Function WWDT Counting WWDTEN (WWDT_CTL[0]) = 1, WWDT down counter from 0x3F to 0x00. WWDT_CTL written once after chip is powered on or reset. WWDTEN (WWDT_CTL[0]) enabled WWDT counter can't disable Counter Prescale Period (PSCSEL) can't change Window Compare Value (