![NXP Semiconductors LPC43Sxx Скачать руководство пользователя страница 1332](http://html1.mh-extra.com/html/nxp-semiconductors/lpc43sxx/lpc43sxx_user-manual_17218271332.webp)
UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2015. All rights reserved.
User manual
Rev. 2.1 — 10 December 2015
1332 of 1441
NXP Semiconductors
UM10503
Chapter 47: LPC43xx/LPC43Sxx 10-bit ADC0/1
47.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.
47.6.4 A/D Data Registers
The A/D Data Register hold the result when an A/D conversion is complete, and also
include the flags that indicate when a conversion has been completed and when a
conversion overrun has occurred.
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
Table 1115. A/D Global Data register (GDR - address 0x400E 3004 (ADC0) and 0x400E 4004
(ADC1)) bit description
Bit
Symbol
Description
Reset
value
Table 1116. A/D Interrupt Enable register (INTEN - address 0x400E 300C (ADC0) and
0x400E 400C (ADC1)) bit description
Bit
Symbol
Description
Reset
value
7:0
ADINTEN
These bits allow control over which A/D channels generate
interrupts for conversion completion. When bit 0 is one, completion
of a conversion on A/D channel 0 will generate an interrupt, when bit
1 is one, completion of a conversion on A/D channel 1 will generate
an interrupt, etc.
0x00
8
ADGINTEN
When 1, enables the global DONE flag in ADDR to generate an
interrupt. When 0, only the individual A/D channels enabled by
ADINTEN 7:0 will generate interrupts.
1
31:9 -
Reserved. Always 0.
0
Table 1117. A/D Data registers (DR - addresses 0x400E 3010 (DR0) to 0x400E 302C (DR7)
(ADC0); 0x400E 4010 (DR0) to 0x400E 402C (DR7) (ADC1)) bit description
Bit
Symbol
Description
Reset
value
5:0
-
Reserved. Always 0.
0
15:6
V_VREF
When DONE is 1, this field contains a binary fraction representing the
voltage on the ADCn input pin selected in
, divided by the
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 VDDA,
while 0x3FF indicates that the voltage on ADCn input pin was close to,
equal to, or greater than that on VDDA.
-