CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
User’s Manual U17446EJ3V1UD
103
Figure 6-19. Configuration Diagram for Pulse Width Measurement by Free-Running Counter
f
XP
f
XP
/2
2
f
XP
/2
6
TI000/INTP0/P30
16-bit timer/counter 00
(TM00)
16-bit timer capture/compare
register 010 (CR010)
Internal bus
INTTM010
Selector
Figure 6-20. Timing of Pulse Width Measurement Operation by Free-Running Counter
and One Capture Register (with Both Edges Specified)
t
0000H
0000H
FFFFH
0001H
D0
D0
(D1
−
D0)
×
t
(D3
−
D2)
×
t
(D2
−
D1)
×
t
D1
D2
D3
D2
D3
D0 + 1
D1
D1 + 1
Note
Count clock
TM00 count value
TI000 pin input
CR010 capture value
INTTM010
Note
The carry flag is set to 1. Ignore this setting.