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
452 of 571
NXP Semiconductors
UM10316
Chapter 26: LPC29xx Analog-to-Digital Converter (ADC)
[1]
ADC0, ADC1 and ADC2 have eight analog input pins. For ADC1 and ADC2 the registers for channel 8 to channel 15 are available, but
the register for channel 8 reflects the analog input 0, 9 reflects 1 etc. These registers can be used as a second set for channel 0 to
channel 7. Two result registers and two compare levels are available for each analog input pin of ADC1 and ADC2.
3.1 ADC channel configuration register
The LPC29xx contains a channel configuration register for each of the 16 ADC channel
inputs. These registers define the resolution per channel from 2-bit to 10-bit.
shows the bit assignment of the ACC0 to ACC15 registers.
22Ch
R
0000h
ACD11
ADC channel 11 conversion data register
see
230h
R
0000h
ACD12
ADC channel 12 conversion data register
see
234h
R
0000h
ACD13
ADC channel 13 conversion data register
see
238h
R
0000h
ACD14
ADC channel 14 conversion data register
see
23Ch
R
0000h
ACD15
ADC channel 15 conversion data register
see
300h
R
0000h
COMP_STATUS
Compare-status register
see
304h
W
-
COMP_STATUS_CLR
Compare-status clear register
see
400h
R/W
0000h
ADC_CONFIG
ADC configuration register
see
404h
R/W
0000h
ADC_CONTROL
ADC control register
see
408h
R
0000h
ADC_STATUS
ADC status register
see
FD8h
W
-
INT_CLR_ENABLE
Interrupt clear-enable register
see
FDCh
W
-
INT_SET_ENABLE
Interrupt set-enable register
see
FE0h
R
0000h
INT_STATUS
Interrupt status register
see
FE4h
R
0000h
INT_ENABLE
Interrupt enable register
see
FE8h
W
-
INT_CLR_STATUS
interrupt clear-status register
see
FECh
W
-
INT_SET_STATUS
interrupt set-status register
see
Table 372. ADC register overview
…continued
(base address: 0xE00C 2000 (ADC0), 0xE00C 3000 (ADC1), 0xE00C 4000
Address
Access
Reset
value
Name
Description
[1]
Reference