Datasheet

Section 12 Watchdog Timer
WDT0110A_000020020300 Rev.4.00 Nov. 02, 2005 Page 159 of 304
REJ09B0143-0400
Section 12 Watchdog Timer
The watchdog timer is an 8-bit timer that can generate an internal reset signal for this LSI if a
system crash prevents the CPU from writing to the timer counter, thus allowing it to overflow.
The block diagram of the watchdog timer is shown in figure 12.1.
φ
Internal reset
signal
PSS TCWD
TMWD
TCSRWD
Internal data bus
[Legend]
TCSRWD: Timer control/status register WD
TCWD: Timer counter WD
PSS: Prescaler S
TMWD: Timer mode register WD
Internal
oscillator
CLK
Figure 12.1 Block Diagram of Watchdog Timer
12.1 Features
Selectable from nine counter input clocks.
Eight clock sources (φ/64, φ/128, φ/256, φ/512, φ/1024, φ/2048, φ/4096, and φ/8192) or the
internal oscillator can be selected as the timer-counter clock. When the internal oscillator is
selected, it can operate as the watchdog timer in any operating mode.
Reset signal generated on counter overflow
An overflow period of 1 to 256 times the selected clock can be set.
12.2 Register Descriptions
The watchdog timer has the following registers.
Timer control/status register WD (TCSRWD)
Timer counter WD (TCWD)
Timer mode register WD (TMWD)