10.3.2 Interval Timer Operation
Figure 10-5 illustrates interval timer operation. To use the WDT as an interval timer, clear bit
WT/IT to 0 and set bit TME to 1 in TCSR. An interval timer interrupt request is generated at each
TCNT overflow. This function can be used to generate interval timer interrupts at regular
intervals.
H'FF
TCNT
count value
H'00
Downloaded from
Elcodis.com
electronic components distributor
IT
WT/
= 0
Interval
Interval
TME = 1
timer
timer
interrupt
interrupt
Figure 10-5 Interval Timer Operation
Interval
Interval
timer
timer
interrupt
interrupt
306
Time t