DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10316_0
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 00.06 — 17 December 2008
454 of 571
NXP Semiconductors
UM10316
Chapter 26: LPC29xx Analog-to-Digital Converter (ADC)
3.3 ADC channel conversion data register
The LPC29xx contains a conversion data register for each of the ADC channel inputs.
These registers store the result of an analog-to-digital conversion scan. The selected bit
resolution in the ADC channel configuration register simultaneously defines the number of
valid most-significant conversion data bits in the ADC channel conversion data register.
The remaining conversion data bits become logic 0 accordingly.
The ACD register is read only.
shows the bit assignment of the 16 ACD
registers.
3.4 Compare status register
The compare status register indicates which channels had a compare match (logic 1) and
which not (logic 0). Note that the compare function is located in the system domain. The
COMP_STATUS register is updated after each scan one MSCSS subsystem clock cycle
after the ADC scan has finished. See
for the meaning
of channel 9 to channel 15 for ADC1 and ADC2.
shows the bit assignment of the COMP_STATUS register.
15 to 10
reserved
R
-
Reserved; do not modify. Read as logic 0
9 to 0
COMP_R
R/W
Compare data with respect to analog input
channel
00h*
Table 374. COMPn register bit description (COMP0 to 15, addresses 0xE00C 2100 to
0xE00C213C (ADC0), 0xE00C 3100 to 0xE00C313C (ADC1), 0xE00C 4100 to
0xE00C413C (ADC2))
* = reset value
Bit
Symbol
Access
Value
Description
Table 375. ACD register bit description addresses 0xE00C 2200 to 0xE00C223C (ADC0),
0xE00C 3200 to 0xE00C323C (ADC1), 0xE00C 4200 to 0xE00C423C (ADC2))
* = reset value
Bit
Symbol
Access
Value
Description
31 to 10 reserved
R
-
Reserved; do not modify. Read as logic 0
9 to 0
ACD[9:0]
R
Conversion data. The value represents the
voltage on the corresponding channel input pin,
divided by the voltage on the V
DDA(ADC5V
) pin
(for ADC0) or V
DDA(ADC3V3)
pin (for ADC1 and
ADC2), see
and its
for the meaning of channel 9 to channel 15 for
ADC1 and ADC2.
000h*
Table 376. COMP_STATUS register bit description(COMP_STATUS addresses 0xE00C 2300
(ADC0), 0xE00C 3300 (ADC1), 0xE00C 4300 (ADC2))
* = reset value
Bit
Symbol
Access
Value
Description
31 to 16 reserved
R
-
Reserved; do not modify, read as logic 0
15
COMP_STATUS_15
R
1
Compare match of channel 15
0*
No compare match of channel 15