[][src]Module lpc54606_pac::adc0

LPC5411x 12-bit ADC controller (ADC)

Modules

calib

ADC Calibration register.

chan_thrsel

ADC Channel-Threshold Select register. Specifies which set of threshold compare registers are to be used for each channel

ctrl

ADC Control register. Contains the clock divide value, resolution selection, sampling time selection, and mode controls.

dat

ADC Channel 0 Data register. This register contains the result of the most recent conversion completed on channel 0.

flags

ADC Flags register. Contains the four interrupt/DMA trigger flags and the individual component overrun and threshold-compare flags. (The overrun bits replicate information stored in the result registers).

insel

Input Select. Allows selection of the temperature sensor as an alternate input to ADC channel 0.

inten

ADC Interrupt Enable register. This register contains enable bits that enable the sequence-A, sequence-B, threshold compare and data overrun interrupts to be generated.

seq_ctrl

ADC Conversion Sequence-n control register: Controls triggering and channel selection for conversion sequence-n. Also specifies interrupt mode for sequence-n.

seq_gdat

ADC Sequence-n Global Data register. This register contains the result of the most recent ADC conversion performed under sequence-n.

startup

ADC Startup register.

thr0_low

ADC Low Compare Threshold register 0: Contains the lower threshold level for automatic threshold comparison for any channels linked to threshold pair 0.

thr0_high

ADC High Compare Threshold register 0: Contains the upper threshold level for automatic threshold comparison for any channels linked to threshold pair 0.

thr1_low

ADC Low Compare Threshold register 1: Contains the lower threshold level for automatic threshold comparison for any channels linked to threshold pair 1.

thr1_high

ADC High Compare Threshold register 1: Contains the upper threshold level for automatic threshold comparison for any channels linked to threshold pair 1.

Structs

RegisterBlock

Register block

Type Definitions

CALIB

ADC Calibration register.

CHAN_THRSEL

ADC Channel-Threshold Select register. Specifies which set of threshold compare registers are to be used for each channel

CTRL

ADC Control register. Contains the clock divide value, resolution selection, sampling time selection, and mode controls.

DAT

ADC Channel 0 Data register. This register contains the result of the most recent conversion completed on channel 0.

FLAGS

ADC Flags register. Contains the four interrupt/DMA trigger flags and the individual component overrun and threshold-compare flags. (The overrun bits replicate information stored in the result registers).

INSEL

Input Select. Allows selection of the temperature sensor as an alternate input to ADC channel 0.

INTEN

ADC Interrupt Enable register. This register contains enable bits that enable the sequence-A, sequence-B, threshold compare and data overrun interrupts to be generated.

SEQ_CTRL

ADC Conversion Sequence-n control register: Controls triggering and channel selection for conversion sequence-n. Also specifies interrupt mode for sequence-n.

SEQ_GDAT

ADC Sequence-n Global Data register. This register contains the result of the most recent ADC conversion performed under sequence-n.

STARTUP

ADC Startup register.

THR0_LOW

ADC Low Compare Threshold register 0: Contains the lower threshold level for automatic threshold comparison for any channels linked to threshold pair 0.

THR0_HIGH

ADC High Compare Threshold register 0: Contains the upper threshold level for automatic threshold comparison for any channels linked to threshold pair 0.

THR1_LOW

ADC Low Compare Threshold register 1: Contains the lower threshold level for automatic threshold comparison for any channels linked to threshold pair 1.

THR1_HIGH

ADC High Compare Threshold register 1: Contains the upper threshold level for automatic threshold comparison for any channels linked to threshold pair 1.