CHAPTER 7 TIMER/COUNTER FUNCTION
User’s Manual U13850EJ4V0UM
193
• Capture operation (free-running mode)
The following figure illustrates the operation of the capture register when the capture trigger is input.
Figure 7-17. CRn1 Capture Operation with Rising Edge Specified
Count clock
TMn
TIn0
CRn1
INTTMn1
n + 1
n
n
−
1
n
−
2
n
−
3
n
Rising edge
detection
Remark
n = 0, 1
Figure 7-18. Timing of Pulse Width Measurement with Free-Running Counter (with Both Edges Specified)
t
Value loaded
to CRn1
(D1
−
D0)
×
t
(10000H
−
D1 + D2)
×
t
(D3
−
D2)
×
t
(10000H
−
D1 + (D2 + 1)
×
t
0000H 0001H
D0
Count clock
TMn count
value
TIn0 pin
input
INTTMn1
TIn1 pin input
INTTMn0
OVFn
Value loaded
to CRn0
D0 + 1
D1 D1 + 1
FFFFH 0000H
D2 D2 + 1 D2 + 2
D3
D0
D1
D2
D1
D2 + 1
Remark
n = 0, 1
Содержание MPD703030A
Страница 2: ...User s Manual U13850EJ4V0UM 2 MEMO ...
Страница 514: ...User s Manual U13850EJ4V0UM 514 MEMO ...