English
Language : 

UPD784938 Datasheet, PDF (366/733 Pages) NEC – 16-Bit Single-Chip Microcontrollers
CHAPTER 11 TIMER/EVENT COUNTER 2
11.9.7 Operation as one-shot timer
After timer counter 2 (TM2) is started, it operates as a one-shot pulse that generates a single interrupt after the preset
count time (see Figure 11-57).
The second and subsequent one-shot timer operations can be started by clearing the OVF2 bit of timer control register
1 (TMC1).
The control register settings are shown in Figure 11-58, the setting procedure in Figure 11-59, and the procedure for
starting the one-shot timer from the second time onward in Figure 11-60.
Figure 11-57. One-Shot Timer Operation
FFH or FFFFH
TM2
count value
0H
INTC21
Count start
CE2 ← 1
OVF2
CR21 value
Clear
OVF2 ← 0
366
Preliminary User’s Manual U13987EJ1V0UM00