
R01UH0336EJ0102 Rev.1.02
Page 1329 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 23 A/D Converter
23.4.5
A/D Conversion Result Registers
(1)
ADCAnLCR – A/D Converter Latest Conversion Result Register
This register stores the result and the status of the latest A/D conversion.
It allows the latest A/D conversion results to be read.
Access
This register can be read in 32-bit units.
• The upper 16 bits store the A/D conversion result status.
• The lower 16 bits store the A/D conversion result.
Address
<ADCAn_base1> + A0
H
Initial value
0300 0000
H
This register is initialized by any reset.
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
0
0
0
0
0
0
ADCAn
LCG[1:0]
ADCAn
LER1
ADCAn
LER0
ADCAn
LUR
ADCAnLCN[4:0]
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
ADCAnLCR[15:00]
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
Table 23-22
ADCAnLCR Register Contents (1/2)
Bit Position
Bit Name
Function
25, 24
ADCAn
LCG[1:0]
Indicates the CG to which the conversion result in ADCAnLCR[15:00] belongs.
ADCAn
LCG1
ADCAn
LCG0
Channel Group
0
0
CG0
0
1
CG1
1
0
CG2
1
1
None
23
ADCAn
LER1
Indicates the overwrite error status:
0: The conversion result has not been overwritten
1: The conversion result has been overwritten
This error flag is cleared when ADCAnSTC2.ADCAnLERC1 is set to 1.
22
ADCAn
LER0
Indicates the upper/lower limit comparison result of the A/D conversion result:
0: The conversion result is within the specified range
1: The conversion result is out of the specified range
This error flag is cleared when ADCAnSTC2.ADCAnLERC0 is set to 1.
21
ADCAn
LUR
Indicates the update status of the A/D conversion result:
0: The A/D conversion result has been read from ADCAnLCR (the result has
not been updated)
1: The A/D conversion result has not been read from ADCAnLCR (the result
has been updated)
This bit is cleared after the conversion result is read.
Содержание V850 Series
Страница 1556: ...V850E2 PG4 L R01UH0336EJ0102 Back Cover ...