OM13008,598 NXP Semiconductors, OM13008,598 Datasheet - Page 299

no-image

OM13008,598

Manufacturer Part Number
OM13008,598
Description
BOARD LPC XPRESSO LPC122X
Manufacturer
NXP Semiconductors
Series
LPCXpressor
Datasheets

Specifications of OM13008,598

Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
568-6642
OM13008
NXP Semiconductors
UM10441
User manual
19.6.5 A/D Status Register
19.6.6 A/D Trim register
Table 281. A/D Data Registers (DR0 to DR7 - addresses 0x4002 0010 to 0x4002 002C) bit
The A/D Status register allows checking the status of all A/D channels simultaneously.
The DONE and OVERRUN flags appearing in the ADDRn register for each A/D channel
are mirrored in ADSTAT. The interrupt flag (the logical OR of all DONE flags) is also found
in ADSTAT.
Table 282. A/D Status Register (STAT - address 0x4002 0030) bit description
This register will be set by the bootcode on start-up. It contains the trim values for the
ADC. The offset trim values for the ADC can be overwritten by the user.
Table 283. A/D Trim register (TRM - address 0x4002 4034) bit description
Bit
5:0
15:6
29:16 -
30
31
Bit
7:0
15:8
16
31:17 -
Bit
3:0
7:4
31:8
Symbol
DONE
OVERRUN These bits mirror the OVERRRUN status flags that appear in the
ADINT
Symbol
-
RESULT
OVERRUN This bit is 1 in burst mode if the results of one or more conversions
DONE
Symbol
-
ADCOFFS
-
description
All information provided in this document is subject to legal disclaimers.
Description
Reserved. These bits always read as zeros.
When DONE is 1, this field contains a binary fraction representing the
voltage on the ADn pin selected by the SEL field, divided by the
voltage on the V
voltage on the ADn pin was less than, equal to, or close to that on
V
equal to, or greater than that on V
Reserved. These bits always read as zeros.
was (were) lost and overwritten before the conversion that produced
the result in the RESULT bits.This bit is cleared by reading this
register.
This bit is set to 1 when an A/D conversion completes. It is cleared
when this register is read.
Description
These bits mirror the DONE status flags that appear in the result
register for each A/D channel.
result register for each A/D channel. Reading ADSTAT allows
checking the status of all A/D channels simultaneously.
This bit is the A/D interrupt flag. It is one when any of the individual
A/D channel Done flags is asserted and enabled to contribute to the
A/D interrupt via the ADINTEN register.
Reserved. These bits always read as zeros.
Reserved. These bits always read as zeros.
Offset trim bits for ADC operation. Initialized by the boot code. Can
Description
be overwritten by the user.
Reserved. These bits always read as zeros.
SSA
Rev. 1.1 — 10 March 2011
, while 0x3FF indicates that the voltage on ADn was close to,
DD(3V3)
pin: V/V
REF
REF
. Zero in the field indicates that the
.
Chapter 19: LPC122x ADC
UM10441
© NXP B.V. 2011. All rights reserved.
299 of 442
Reset
value
0
0
0
Reset
value
0
X
0
0
0
Reset
value
0
0
0
0

Related parts for OM13008,598