Configuration For Pulse Width Measurement With Free Running Counter - NEC V850/SA1 mPD703015 Preliminary User's Manual

32-/16-bit single-chip microcontrollers
Table of Contents

Advertisement

Figure 7-12. Configuration for Pulse Width Measurement with Free Running Counter
Note
Count clock
TIn0
Note Set by the PRMn register.
Remarks 1. "
" indicates the signals that can be directly connected to ports.
2. n = 0, 1
Figure 7-13. Timing of Pulse Width Measurement with Free-Running Counter and
t
Count clock
TMn count
0000H
0001H
value
TIn0 pin
input
Value loaded
to CRn1
INTTMn1
OVFn
Remark n = 0, 1
162
CHAPTER 7
TIMER/COUNTER FUNCTION
Selector
16-bit timer register n (TMn)
16-bit capture/compare register n1
One Capture Register (with both edges specified)
D0
D0+1
D1
D0
(D1 − D0) × t
(CRn1)
Internal bus
D0+1
FFFFH
0000H
D1
(10000H − D1 + D2) × t
OVFn
INTTMn1
D2
D3
D2
D3
(D3 − D2) × t

Advertisement

Table of Contents
loading

Table of Contents