UM11029
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2017. All rights reserved.
User manual
Rev. 1.0 — 16 June 2017
462 of 515
NXP Semiconductors
UM11029
Chapter 26: LPC84x 12-bit Analog-to-Digital Converter (ADC)
26.6.10 A/D Flag register
The A/D Flags registers contains the four interrupt request flags along with the individual
overrun flags that contribute to an overrun interrupt and the component
threshold-comparison flags that contribute to that interrupt.
The channel OVERRUN flags, mirror those in the appearing in the individual ADDAT
registers for each channel, indicate a data overrun in each of those registers.
Likewise, the SEQA_OVR and SEQB_OVR bits mirror the OVERRUN bits in the two
global data registers (SEQA_GDAT and SEQB_GDAT).
Remark:
The SEQn_INT conversion/sequence-complete flags also serve as DMA
triggers.
24:23 ADCMPINTEN10
Threshold comparison interrupt enable.
00
0x0
Disabled.
0x1
Outside threshold.
0x2
Crossing threshold.
0x3
Reserved
26:25 ADCMPINTEN11
Threshold comparison interrupt enable.
00
0x0
Disabled.
0x1
Outside threshold.
0x2
Crossing threshold.
0x3
Reserved
31:27 -
Reserved, user software should not write ones to reserved bits. The value
read from a reserved bit is not defined.
NA
Table 454. A/D Interrupt Enable register (INTEN, address 0x4001 C064 ) bit description
Bit
Symbol
Value
Description
Reset
value
Table 455. A/D Flags register (FLAGS, address 0x4001 C068) bit description
Bit
Symbol
Description
Reset
value
0
THCMP0
Threshold comparison event on Channel 0. Set to 1 upon either an out-of-range result or a
threshold-crossing result if enabled to do so in the INTEN register. This bit is cleared by
writing a 1.
0
1
THCMP1
Threshold comparison event on Channel 1. Set to 1 upon either an out-of-range result or a
threshold-crossing result if enabled to do so in the INTEN register. This bit is cleared by
writing a 1.
0
2
THCMP2
Threshold comparison event on Channel 2. Set to 1 upon either an out-of-range result or a
threshold-crossing result if enabled to do so in the INTEN register. This bit is cleared by
writing a 1.
0
3
THCMP3
Threshold comparison event on Channel 3. Set to 1 upon either an out-of-range result or a
threshold-crossing result if enabled to do so in the INTEN register. This bit is cleared by
writing a 1.
0
4
THCMP4
Threshold comparison event on Channel 4. Set to 1 upon either an out-of-range result or a
threshold-crossing result if enabled to do so in the INTEN register. This bit is cleared by
writing a 1.
0