142
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 0
User’s Manual U15798EJ2V0UD
Figure 6-14. Configuration Diagram for Pulse Width Measurement by Free-Running Counter
f
X
f
X
/2
2
f
X
/2
6
TI00/P35
16-bit timer counter 0 (TM0)
OVF0
16-bit timer capture/compare
register 01 (CR01)
Internal bus
INTTM01
Selector
Figure 6-15. 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
Count clock
TM0 count value
TI00 pin input
CR01 capture value
INTTM01
OVF0
(D1 – D0)
×
t
(D3 – D2)
×
t
(10000H – D1 + D2)
×
t
D1
D2
D3
D2
D3
D0 + 1
D1
D1 + 1
Содержание mPD780344 Series
Страница 2: ...2 User s Manual U15798EJ2V0UD MEMO...