CHAPTER 6 16-BIT TIMER/EVENT COUNTERS 00 AND 01
User’s Manual U16899EJ2V0UD
161
Figure 6-23. Configuration Diagram for Pulse Width Measurement with Free-Running Counter
f
X
(f
X
)
Note
f
X
/2
2
(f
X
/2
4
)
Note
f
X
/2
8
(f
X
/2
6
)
Note
TI00n
16-bit timer counter 0n
(TM0n)
OVF0n
16-bit timer capture/compare
register 01n (CR01n)
Internal bus
INTTM01n
Selector
Note Frequencies without parentheses are for 16-bit timer/event counter 00, and those in parentheses are for 16-
bit timer/event counter 01.
Figure 6-24. 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
TM0n count value
TI00n pin input
CR01n capture value
INTTM01n
OVF0n
(D1
−
D0)
×
t
(D3
−
D2)
×
t
(10000H
−
D1 + D2)
×
t
D1
D2
D3
D2
D3
D0 + 1
D1
D1 + 1
Note
Note Clear OVF0n by software.
Remark n = 0:
µ
PD78F0132H
n = 0, 1:
µ
PD78F0133H, 78F0134H, 78F0136H, 78F0138H, 78F0138HD