![NXP Semiconductors LCP43 Series User Manual Download Page 1160](http://html1.mh-extra.com/html/nxp-semiconductors/lcp43-series/lcp43-series_user-manual_17218171160.webp)
UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
User manual
Rev. 1.3 — 6 July 2012
1160 of 1269
NXP Semiconductors
UM10503
Chapter 44: LPC43xx 10-bit ADC0/1
44.6.2 A/D Global Data register
The A/D Global Data Register contains the result of the most recent A/D conversion when
the ADC operates in software-controlled, non-burst mode (BURST bit set to zero and
START bits set to 0x1 in the CR register). This includes the data, DONE, and Overrun
flags, and the number of the A/D channel to which the data relates.
Remark:
Use only the individual channel data registers DR0 to DR7 with burst mode or
with hardware triggering to read the conversion results.
44.6.3 A/D Interrupt Enable register
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.
Table 1011.A/D Global Data register (GDR - address 0x400E 3004 (ADC0) and 0x400E 4004
(ADC1)) bit description
Bit
Symbol
Description
Reset
value
5:0
-
Reserved. These bits always read as zeroes.
0
15:6
V_VREF
When DONE is 1, this field contains a binary fraction representing
the voltage on the ADCn pin selected by the SEL field, divided by
the reference voltage on the VDDA pin. Zero in the field indicates
that the voltage on the ADCn input pin was less than, equal to, or
close to that on VSSA, while 0x3FF indicates that the voltage on
ADCn input pin was close to, equal to, or greater than that on
VDDA.
-
23:16 -
Reserved. These bits always read as zeroes.
0
26:24 CHN
These bits contain the channel from which the LS bits were
converted.
-
29:27 -
Reserved. These bits always read as zeroes.
0
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 V_VREF bits.
0
31
DONE
This bit is set to 1 when an analog-to-digital conversion completes.
It is cleared when this register is read and when the AD0/1CR
register is written. If the AD0/1CR is written while a conversion is
still in progress, this bit is set and a new conversion is started.
0