
UM10850
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2016. All rights reserved.
User manual
Rev. 2.4 — 13 September 2016
382 of 464
NXP Semiconductors
UM10850
Chapter 25: LPC5410x 12-bit ADC controller (ADC0)
25.6.10 ADC Flags register
The ADC Flags registers contains the four interrupt/DMA trigger flags along with the
individual overrun flags that contribute to an overrun interrupt and the component
threshold-comparison flags that contribute to that interrupt. Note that the threshold and
overrun interrupts hare a slot in the NVIC.
The channel OVERRUN flags mirror those appearing in the individual DAT registers for
each channel and 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.
Table 429: ADC Flags register (FLAGS, address offset 0x68) 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. See description for channel 0.
0
2
THCMP2
Threshold comparison event on Channel 2. See description for channel 0.
0
3
THCMP3
Threshold comparison event on Channel 3. See description for channel 0.
0
4
THCMP4
Threshold comparison event on Channel 4. See description for channel 0.
0
5
THCMP5
Threshold comparison event on Channel 5. See description for channel 0.
0
6
THCMP6
Threshold comparison event on Channel 6. See description for channel 0.
0
7
THCMP7
Threshold comparison event on Channel 7. See description for channel 0.
0
8
THCMP8
Threshold comparison event on Channel 8. See description for channel 0.
0
9
THCMP9
Threshold comparison event on Channel 9. See description for channel 0.
0
10
THCMP10
Threshold comparison event on Channel 10. See description for channel 0.
0
11
THCMP11
Threshold comparison event on Channel 11. See description for channel 0.
0
12
OVERRUN0
Mirrors the OVERRRUN status flag from the result register for ADC channel 0
0
13
OVERRUN1
Mirrors the OVERRRUN status flag from the result register for ADC channel 1
0
14
OVERRUN2
Mirrors the OVERRRUN status flag from the result register for ADC channel 2
0
15
OVERRUN3
Mirrors the OVERRRUN status flag from the result register for ADC channel 3
0
16
OVERRUN4
Mirrors the OVERRRUN status flag from the result register for ADC channel 4
0
17
OVERRUN5
Mirrors the OVERRRUN status flag from the result register for ADC channel 5
0
18
OVERRUN6
Mirrors the OVERRRUN status flag from the result register for ADC channel 6
0
19
OVERRUN7
Mirrors the OVERRRUN status flag from the result register for ADC channel 7
0
20
OVERRUN8
Mirrors the OVERRRUN status flag from the result register for ADC channel 8
0
21
OVERRUN9
Mirrors the OVERRRUN status flag from the result register for ADC channel 9
0
22
OVERRUN10 Mirrors the OVERRRUN status flag from the result register for ADC channel 10
0
23
OVERRUN11 Mirrors the OVERRRUN status flag from the result register for ADC channel 11
0
24
SEQA_OVR
Mirrors the global OVERRUN status flag in the SEQA_GDAT register
0
25
SEQB_OVR
Mirrors the global OVERRUN status flag in the SEQB_GDAT register
0
27:26 -
Reserved.
NA