
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
UM10360_0
© NXP B.V. 2009. All rights reserved.
User manual
Rev. 00.06 — 5 June 2009
553 of 808
NXP Semiconductors
UM10360
Chapter 29: LPC17xx Analog-to-Digital Converter (ADC)
5.3 A/D Interrupt Enable register (AD0INTEN - 0x4003 400C)
This register allows control over which A/D channels generate an interrupt when a
conversion is complete. For example, it may be desirable to use some A/D channels to
monitor sensors by continuously performing conversions on them. The most recent
results are read by the application program whenever they are needed. In this case, an
interrupt is not desirable at the end of each conversion for some A/D channels.
29:27
-
Reserved, user software should not write ones to reserved bits. The value read from
a reserved bit is not defined.
NA
30
OVERRUN
This bit is 1 in burst mode if the results of one or more conversions was (were) lost
and overwritten before the conversion that produced the result in the RESULT bits.
This bit is cleared by reading this register.
0
31
DONE
This bit is set to 1 when an A/D conversion completes. It is cleared when this
register is read and when the ADCR is written. If the ADCR is written while a
conversion is still in progress, this bit is set and a new conversion is started.
0
Table 514: A/D Global Data Register (AD0GDR - address 0x4003 4004) bit description
Bit
Symbol
Description
Reset
value
Table 515: A/D Status register (AD0INTEN - address 0x4003 400C) bit description
Bit
Symbol
Value
Description
Reset
value
0
ADINTEN0
0
Completion of a conversion on ADC channel 0 will not generate an interrupt.
0
1
Completion of a conversion on ADC channel 0 will generate an interrupt.
1
ADINTEN1
0
Completion of a conversion on ADC channel 1 will not generate an interrupt.
0
1
Completion of a conversion on ADC channel 1 will generate an interrupt.
2
ADINTEN2
0
Completion of a conversion on ADC channel 2 will not generate an interrupt.
0
1
Completion of a conversion on ADC channel 2 will generate an interrupt.
3
ADINTEN3
0
Completion of a conversion on ADC channel 3 will not generate an interrupt.
0
1
Completion of a conversion on ADC channel 3 will generate an interrupt.
4
ADINTEN4
0
Completion of a conversion on ADC channel 4 will not generate an interrupt.
0
1
Completion of a conversion on ADC channel 4 will generate an interrupt.
5
ADINTEN5
0
Completion of a conversion on ADC channel 5 will not generate an interrupt.
0
1
Completion of a conversion on ADC channel 5 will generate an interrupt.
6
ADINTEN6
0
Completion of a conversion on ADC channel 6 will not generate an interrupt.
0
1
Completion of a conversion on ADC channel 6 will generate an interrupt.
7
ADINTEN7
0
Completion of a conversion on ADC channel 7 will not generate an interrupt.
0
1
Completion of a conversion on ADC channel 7 will generate an interrupt.
8
ADGINTEN
0
Only the individual ADC channels enabled by ADINTEN7:0 will generate
interrupts.
1
1
Only the global DONE flag in ADDR is enabled to generate an interrupt.
31:17
-
Reserved, user software should not write ones to reserved bits. The value
read from a reserved bit is not defined.
NA