English
Language : 

UPD784938 Datasheet, PDF (217/733 Pages) NEC – 16-Bit Single-Chip Microcontrollers
CHAPTER 9 TIMER/EVENT COUNTER 0
(3) Pulse width measurement
Detects the pulse width of the signal input to the external interrupt request input pin (INTP3).
Table 9-3. Timer/Event Counter 0 Pulse Width Measurement Range
Measurable Pulse WidthNote
Resolution
4/fXX to
(0.32 µs)
216 × 4/fXX
(20.8 ms)
4/fXX
(0.32 µs)
8/fXX to
(0.64 µs)
216 × 8/fXX
(41.7 ms)
8/fXX
(0.64 µs)
16/fXX to 216 × 16/fXX
(1.27 µs)
(83.4 ms)
16/fXX
(1.27 µs)
32/fXX to 216 × 32/fXX
(2.54 µs)
(167 ms)
32/fXX
(2.54 µs)
64/fXX to 216 × 64/fXX
(5.09 µs)
(333 ms)
64/fXX
(5.09 µs)
128/fXX to 216 × 128/fXX
(10.17 µs)
(667 ms)
128/fXX
(10.17 µs)
256/fXX to 216 × 256/fXX
(20.35 µs)
(1.33 s)
256/fXX
(20.35 µs)
512/fXX to 216 × 512/fXX
(40.70 µs)
(2.67 s)
512/fXX
(40.70 µs)
1,024/fXX to 216 × 1,024/fXX
(81.40 µs)
(5.33 s)
1,024/fXX
(81.40 µs)
( ): When fXX = 12.58 MHz
Note
The minimum pulse width that can be measured differs depending on the selected value of fCLK.
The minimum pulse width that can be measured is the value of 3/fCLK or the value in the above table, whichever is
greater.
(4) Software triggered one-shot pulse output
This is a one-shot pulse output function in which the pulse output level is activated by software and inactivated by hardware
(an interrupt request signal). Control can be performed for the timer output pins (TO0, TO1) independently.
Caution The software triggered one-shot pulse output function is different in nature from the one-shot timer
function of timer/event counter 2.
Preliminary User’s Manual U13987EJ1V0UM00
217