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
378 of 464
NXP Semiconductors
UM10850
Chapter 25: LPC5410x 12-bit ADC controller (ADC0)
25.6.7 ADC Compare High Threshold Registers 0 and 1
These registers set the HIGH threshold level against which ADC conversions on all
channels will be compared.
Each channel will either be compared to the THR0_LOW/HIGH registers or to the
THR1_LOW/HIGH registers depending on what is specified for that channel in the
CHAN_THRSEL register.
A conversion result greater than this value on any channel will cause the THCMP status
bits for that channel to be set to 0b10. This result will also generate an interrupt/DMA
trigger if enabled to do so via the ADCMPINTEN bits associated with each channel in the
INTEN register.
Table 425: Compare High Threshold register0 (THR0_HIGH, address offset 0x58) bit description
Bit
Symbol
Description
Reset value
3:0
-
Reserved. Read value is undefined, only zero should be written.
NA
15:4
THRHIGH
High threshold value against which ADC results will be compared
0x000
31:16 -
Reserved. Read value is undefined, only zero should be written.
NA
Table 426: Compare High Threshold register 1 (THR1_HIGH, address offset 0x5C) bit description
Bit
Symbol
Description
Reset value
3:0
-
Reserved. Read value is undefined, only zero should be written.
NA
15:4
THRHIGH
High threshold value against which ADC results will be compared
0x000
31:16 -
Reserved. Read value is undefined, only zero should be written.
NA