
R01UH0336EJ0102 Rev.1.02
Page 1452 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 24 Peripheral Interconnection (PIC)
Figure 24-40
Operation Stop Flow
24.4.7.6
Function Setting
Timer register settings
Register bits not listed here are used with the initial values.
Table 24-41
ENCA0 Setting
Function
Register
Bit Position
Bit Name
Set Value
Note
ENCA0
ENCA0CTL
15
ENCA0CME
1
Enables or disables compare match interrupt
detection mask.
14
ENCA0MCS
0
Selects a cancelation trigger of compare match
interrupt detection mask.
9
ENCA0CRM1
0
Selects the ENCA0CCR1 function
(capture/compare)
8
ENCA0CRM0
0
Selects the ENCA0CCR0 function
(capture/compare)
7
ENCA0CTS
0
Selects trigger of capture operation of ENCA0CCR1
4
ENCA0LDE
1
Enables or disables reload operation when
underflow is generated.
3
ENCA0ECM1
0
Enables or disables clearing of the counter on
compare match of ENCA0CCR1.
2
ENCA0ECM0
1
Enables or disables clearing of the counter on
compare match of ENCA0CCR0.
1, 0
ENCA0UDS1,
ENCA0UDS0
Don’t care
Selects the counter up/down control by ENCA0E0/
ENCA0E1.
ENCA0IOC1
7
ENCA0SCE
0
Enables the special encoder clear.
6
ENCA0ZCL
0
Selects the clear level of Z phase for a special
encoder clear.
5
ENCA0BCL
0
Selects the clear level of B phase for a special
encoder clear.
4
ENCA0ACL
0
Selects the clear level of A phase for a special
encoder clear.
3, 2
ENCA0ECS1
ENCA0ECS0
0
Selects encoder clear input (Z phase) edge.
1, 0
ENCA0EIS1
ENCA0EIS0
Don’t care
Selects encoder input (A and B phase) edge.
ENCA0CCR0
—
—
Don’t care
Compare register
Sets a compare value.
ENCA0CCR1
—
—
Don’t care
Compare register
Sets a compare value.
ENCA0CNT
—
—
Don’t care
Timer counter register
Содержание V850 Series
Страница 1556: ...V850E2 PG4 L R01UH0336EJ0102 Back Cover ...