NEC V850ES/KE1+ User Manual page 227

32-bit single-chip microcontrollers
Table of Contents

Advertisement

(2) 16-bit timer capture/compare register 010 (CR010), 16-bit timer capture/compare register 011 (CR011)
The CR010 and CR011 registers are 16-bit registers that are used with a capture function or comparison function
selected by using the CRC01 register.
Change of the value of the CR010 register while the timer is operating (TMC01.TMC013 and TMC01.TMC012
bits = other than 00) is prohibited.
The value of the CR011 register can be changed during operation if the value has been set in a specific way. For
details, refer to 7.5.1 Rewriting CR010 register during TM01 operation.
These registers can be read or written in 16-bit units.
Reset sets these registers to 0000H.
(a) 16-bit timer capture/compare register 010 (CR010)
After reset: 0000H
CR010
(i) When the CR010 register is used as a compare register
The value set in the CR010 register is constantly compared with the TM01 register count value, and an
interrupt request signal (INTTM010) is generated if they match. The value is held until the CR010 register
is rewritten.
(ii) When the CR010 register is used as a capture register
The count value of the TM01 register is captured to the CR010 register when a capture trigger is input.
As the capture trigger, an edge of a phase reverse to that of the TI010 pin or the valid edge of the TI011
pin can be selected by using the CRC01 or PRM01 register.
CHAPTER 7 16-BIT TIMER/EVENT COUNTER 0
R/W
Address: FFFFF612H
13
12
11
10
15
14
User's Manual U16896EJ2V0UD
9
8
7
6
5
4
3
2
1
0
227

Advertisement

Table of Contents
loading

This manual is also suitable for:

?pd70f3302?pd703302?pd70f3302y?pd703302y

Table of Contents