NEC V850ES/KE1+ User Manual page 233

32-bit single-chip microcontrollers
Table of Contents

Advertisement

(2) Capture/compare control register 01 (CRC01)
The CRC01 register is the register that controls the operation of the CR010 and CR011 registers.
Changing the value of the CRC01 register is prohibited during operation (when the TMC01.TMC013 and
TMC01.TMC012 bits = other than 00).
This register can be read or written in 8-bit or 1-bit units.
Reset sets this register to 00H.
After reset: 00H
R/W
7
CRC01
0
CRC012
0
1
CRC011
0
1
The valid edge of the TI011 and TI010 pin is set by the PRM01 register.
If PRM01.ES101 and PRM01.ES100 are set to 11 (both edges) when CRC011 is 1, the valid edge of the
TI010 pin cannot be detected.
CRC010
0
1
If TMC013 and TMC012 are set to 11 (clear & start mode entered upon a match between TM01 and
CR010), be sure to set the CRC010 bit to 0.
Note When the valid edge is detected from the TI011 pin, the capture operation is not performed but the
INTTM010 signal is generated as an external interrupt signal.
Caution To ensure that the capture operation is performed properly, the capture trigger requires a
pulse two cycles longer than the count clock selected by the PRM01 or SELCNT1 register.
CHAPTER 7 16-BIT TIMER/EVENT COUNTER 0
Address: CRC01 FFFFF618H
6
5
0
0
CR011 register operating mode selection
Operates as compare register
Operates as capture register
CR010 register capture trigger selection
Captures on valid edge of TI011 pin
Captures on valid edge of TI010 pin by reverse phase
CR010 register operating mode selection
Operates as compare register
Operates as capture register
User's Manual U16896EJ2V0UD
4
3
2
0
0
CRC012
Note
1
0
CRC011
CRC010
233

Advertisement

Table of Contents
loading

This manual is also suitable for:

?pd70f3302?pd703302?pd70f3302y?pd703302y

Table of Contents