English
Language : 

SH7280 Datasheet, PDF (778/1726 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine family
Section 15 Watchdog Timer (WDT)
15.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 CKS[2:0] bits in
WTCSR, and set the initial value of the counter in WTCNT.
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 bit in WTCSR to 1 and an interval timer
interrupt request is sent to the INTC. The counter then resumes counting.
WTCNT value
H'FF
Overflow
Overflow
Overflow
Overflow
H'00
WT/IT = 0
ITI
ITI
ITI
TME = 1
[Legend]
ITI: Interval timer interrupt request generation
Figure 15.5 Operation in Interval Timer Mode
Time
ITI
Rev. 1.00 Jun. 26, 2008 Page 748 of 1692
REJ09B0393-0100