CHAPTER 7 TIMER/COUNTER FUNCTION
164
• Capture operation (free running mode)
The following figure illustrates the operation of the capture register when the capture trigger is input.
Figure 7-15. CRn1 Capture Operation with Rising Edge Specified
Remark n = 0, 1
Figure 7-16. Timing of Pulse Width Measurement with Free Running Counter (with both edges specified)
Value loaded to
CRn1
(D3
−
D2)
×
t
Count clock
TMn count value
TIn0 pin input
INTTMn1
TIn1 pin input
INTTMn0
OVFn
Value loaded to
CRn0
D3
0000H
FFFFH
D1
D0
0001H
0000H
D0
D1
D1
t
D0+1
D1+1
(D1
−
D0)
×
t
(10000H
−
D1 + (D2 + 1)
×
t
D2+1
D2
D2
D2+2
D2+1
(10000H
−
D1 + D2)
×
t
Remark n = 0, 1
Rising edge detection
Count clock
TMn
TIn0
CRn1
INTTMn1
n + 1
n
n
−
1
n
−
2
n
−
3
n
Summary of Contents for V850/SA1 mPD703015
Page 2: ...2 MEMO ...
Page 100: ...100 MEMO ...
Page 144: ...144 MEMO ...
Page 200: ...200 MEMO ...
Page 328: ...328 MEMO ...
Page 356: ...356 MEMO ...
Page 358: ...358 MEMO ...
Page 368: ...368 MEMO ...
Page 374: ...374 MEMO ...
Page 382: ...382 MEMO ...