CHAPTER 7 TIMER/COUNTER FUNCTION
User’s Manual U13850EJ4V0UM
191
Figure 7-14. Configuration for Pulse Width Measurement with Free-Running Counter
Note
The count clock is set by the PRMn0 and PRMn1 registers.
Remarks 1.
“
”
indicates a signal that can be directly connected to ports.
2.
n = 0, 1
Figure 7-15. Timing of Pulse Width Measurement with Free-Running Counter and
One Capture Register (with Both Edges Specified)
t
Value loaded
to CRn1
TIn0 pin
input
TMn count
value
0000H 0001H
D0
FFFFH
D1
0000H
D2
D3
INTTMn1
D0
OVFn
(D1
−
D0)
×
t
(10000H
−
D1 + D2)
×
t
Count clock
D1
D2
D3
(D3
−
D2)
×
t
D0 + 1
D1 + 1
Remark
n = 0, 1
16-bit capture/compare register n1
(CRn1)
16-bit timer register n (TMn)
Internal bus
Count clock
Note
TIn0
Selector
OVFn
INTTMn1
Содержание MPD703030A
Страница 2: ...User s Manual U13850EJ4V0UM 2 MEMO ...
Страница 514: ...User s Manual U13850EJ4V0UM 514 MEMO ...