CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
Preliminary User’s Manual U16846EJ1V0UD
123
Figure 6-18. Configuration Diagram for Pulse Width Measurement with Free-Running Counter
f
X
f
X
/2
2
f
X
/2
8
TI000
16-bit timer counter 00
(TM00)
OVF00
16-bit timer capture/compare
register 010 (CR010)
Internal bus
INTTM010
Selector
Figure 6-19. Timing of Pulse Width Measurement Operation with Free-Running Counter
and One Capture Register (with Both Edges Specified)
t
0000H
0000H
FFFFH
0001H
D0
D0
Count clock
TM00 count value
TI000 pin input
CR010 capture value
INTTM010
OVF00
(D1 – D0)
×
t
(D3 – D2)
×
t
(10000H – D1 + D2)
×
t
D1
D2
D3
D2
D3
D0 + 1
D1
D1 + 1
Note
Note Clear OVF00 by software.