NEC Renesas V850/SC1 User Manual page 284

32-bit single-chip microcontrollers
Hide thumbs Also See for Renesas V850/SC1:
Table of Contents

Advertisement

Figure 8-16. Control Register Settings for Pulse Width Measurement by Restarting
(a) 16-bit timer mode control registers 0, 1, 7 to 12 (TMC0, TMC1, TMC7 to TMC12)
TMCn
0
0
(b) Capture/compare control registers 0, 1, 7 to 12 (CRC0, CRC1, CRC7 to CRC12)
CRCn
0
0
Remarks 1. 0/1: When these bits are reset to 0 or set to 1, other functions can be used along with the pulse
width measurement function. For details, refer to 8.1.4 (1) 16-bit timer mode control
registers 0, 1, 7 to 12 (TMC0, TMC1, TMC7 to TMC12) and (2) Capture/compare control
registers 0, 1, 7 to 12 (CRC0, CRC1, CRC7 to CRC12).
2. n = 0, 1, 7 to 12
Figure 8-17. Timing of Pulse Width Measurement by Restarting (with Rising Edge Specified)
Count clock
TMn count value
TIn0 pin input
Value loaded to CRn1
Value loaded to CRn0
INTTMn1
Remark
n = 0, 1, 7 to 12
282
CHAPTER 8
TIMER/COUNTER FUNCTION
TMCn3
0
0
1
0
0
0
t
0000H
0001H
D0
0000H
D0
(D1+1)
User's Manual U15109EJ3V0UD
TMCn2
TMCn1
OVFn
0
0/1
0
CRCn2
CRCn1
CRCn0
1
1
1
0001H
D1
D2
D1
×
t
×
(D2+1)
t
Clears and starts at
valid edge of TIn0 pin.
CRn0 as capture
register
Captures to CRn0 at
edge reverse to valid
edge of TIn0.
CRn1 as capture
register
0000H
0001H
D2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents