|
UPD784938 Datasheet, PDF (350/733 Pages) NEC – 16-Bit Single-Chip Microcontrollers | |||
|
◁ |
CHAPTER 11 TIMER/EVENT COUNTER 2
11.9.2 Operation as interval timer (2)
TM2 operates as an interval timer that generates interrupts repeatedly with the preset count time as the interval (see
Figure 11-39).
The control register settings are shown in Figure 11-40, and the setting procedure in Figure 11-41.
Figure 11-39. Interval Timer Operation (2) Timing
n
n
TM2
count value
0H
Compare register
(CR21)
Count start
Clear
Clear
n
INTC21
interrupt request
Interval
Interrupt acknowledged
Interval
Interrupt acknowledged
Remark Interval = (n+1) Ã x/fXX
0 ⤠n ⤠FFH, x = 4, 8, 16, 32, 64, 128, 256, 512, 1,024
350
Preliminary Userâs Manual U13987EJ1V0UM00
|
▷ |