![NEC V850/SA1 mPD703015 Preliminary User'S Manual Download Page 153](http://html.mh-extra.com/html/nec/v850-sa1-mpd703015/v850-sa1-mpd703015_preliminary-users-manual_249279153.webp)
CHAPTER 7 TIMER/COUNTER FUNCTION
153
(2) Capture/compare control register 0, 1 (CRC0, CRC1)
This register controls the operation of the capture/compare register n (CRn0 and CRn1).
CRCn is set by a 1-bit or 8-bit memory manipulation instruction.
RESET input clears CRC0 and CRC1 to 00H.
Figure 7-3. Format of Capture/Compare Control Register 0, 1 (CRC0, CRC1)
At reset: 00H
R/W
Address: FFFFF20AH, FFFFF21AH
7
6
5
4
3
2
1
0
CRCn
0
0
0
0
0
CRCn2
CRCn1
CRCn0
(n = 0, 1)
CRCn2
Selects Operation Mode of CRn1
0
Operates as compare register.
1
Operates as capture register.
CRCn1
Selects Capture Trigger of CRn0
0
Captured at valid edge of TIn1.
1
Captured in reverse phase of valid edge of TIn0.
CRCn0
Selects Operation Mode of CRn0
0
Operates as compare register.
1
Operates as capture register.
Cautions 1. Before setting CRCn, be sure to stop the timer operation.
2.
When the mode in which the timer is cleared and started on coincidence between TMn
and CRn0 is selected by the 16-bit timer mode control register n (TMCn), do not specify
CRn0 as a capture register.
3.
Capture cannot be performed when both the rising edge and falling edge are selected as
the valid edge of TIn0.
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 ...