![NXP Semiconductors LPC43Sxx Скачать руководство пользователя страница 1331](http://html1.mh-extra.com/html/nxp-semiconductors/lpc43sxx/lpc43sxx_user-manual_17218271331.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
1331 of 1441
NXP Semiconductors
UM10503
Chapter 47: LPC43xx/LPC43Sxx 10-bit ADC0/1
47.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.
26:24 START
Controls the start of an A/D conversion when the BURST bit is 0.
0
0x0
No start (this value should be used when clearing PDN to 0).
0x1
Start now.
0x2
Start conversion when the edge selected by bit 27 occurs on CTOUT_15
(combined timer output 15, ADC start0).
0x3
Start conversion when the edge selected by bit 27 occurs on CTOUT_8
(combined timer output 8, ADC start1).
0x4
Start conversion when the edge selected by bit 27 occurs on ADCTRIG0 input
(ADC start3).
0x5
Start conversion when the edge selected by bit 27 occurs on ADCTRIG1 input
(ADC start4).
0x6
Start conversion when the edge selected by bit 27 occurs on Motocon PWM
output MCOA2 (ADC start5).
0x7
Reserved.
27
EDGE
Controls rising or falling edge on the selected signal for the start of a
conversion. This bit is significant only when the START field contains 0x2
-0x6).
0
0
Rising edge.
1
Falling edge.
31:28 -
-
Reserved, user software should not write ones to reserved bits. The value read
from a reserved bit is not defined.
-
Table 1114. A/D Control register (CR - address 0x400E 3000 (ADC0) and 0x400E 4000 (ADC1)) bit description
Bit
Symbol
Value
Description
Reset
value
Table 1115. 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.
-