
R01UH0336EJ0102 Rev.1.02
Page 979 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 18 Encoder Timer (ENCA)
(8)
ENCAnCNT – ENCA Counter Register
This register is a 16-bit timer counter.
Access
This register can be read/written in 16-bit units.
This register can be written only when the counting operation is stopped.
Writing to this register during counting operation is invalid.
Address
<ENCAn_base1> + 08
H
Initial value
0000
H
A reset from any source will initialize the bits.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
ENCAnCNT[15:0]
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Table 18-14
ENCAnCNT Register Contents
Bit Position
Bit Name
Function
15 to 0
ENCAnCNT
[15:0]
Operation of counter register
ENCAnTE
Counter
Status
Operation
0
Stopped
(initial setting)
Set a given value to timer counter register.
0
→
1
Starting
operation
Start counting up/down from the set given
value.
1
In operation
Counting up/down
1
→
0
Stopped
Counting stopped (retains its value before
counting stopped).
Note: ENCAnTE state refers to the state of the ENCAnTE bit in the ENCAnTE
register.
Содержание V850 Series
Страница 1556: ...V850E2 PG4 L R01UH0336EJ0102 Back Cover ...