English
Language : 

SH7137 Datasheet, PDF (557/1160 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperH™ RISC engine Family
WTCNT value
H'FF
Section 13 Watchdog Timer (WDT)
Overflow occurs
H'00
WT/IT = 1
TME = 1
WDTOVF signal
Time
H'00 is written
to WTCNT
WOVF = 1
WDTOVF is asserted and
an internal reset is generated
H'00 is written
to WTCNT
Count starts
Internal reset signal
(power-on reset selected)
Internal reset signal
(manual reset selected)
32 Pφ clock
3 Pφ + one cycle of count clock
18 Pφ clock
Figure 13.3 Operation in Watchdog Timer Mode
(When WTCNT Count Clock is Specified to Pφ/32 by CKS2 to CKS0)
13.4.3 Using Interval Timer Mode
When operating in interval timer mode, interval timer interrupts are generated at every overflow of
the counter. This enables interrupts to be generated at set periods.
1. Clear the WT/IT bit in WTCSR to 0, set the type of count clock in the CKS2 to CKS0 bits, and
set the initial value of the counter in the WTCNT counter.
2. Set the TME bit in WTCSR to 1 to start the count in interval timer mode.
3. When the counter overflows, the WDT sets the IOVF flag in WTCSR to 1 and an interval
timer interrupt request is sent to the INTC. The counter then resumes counting.
Rev. 2.00 Sep. 10, 2008 Page 531 of 1130
REJ09B0402-0200