Module lpc845_pac::adc0[][src]

Expand description

LPC84x 12-bit ADC controller (ADC)

Modules

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

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

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

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).

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.

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

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

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

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

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

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

ADC Startup register.

Structs

Register block

Type Definitions

CHAN_THRSEL register accessor: an alias for Reg<CHAN_THRSEL_SPEC>

CTRL register accessor: an alias for Reg<CTRL_SPEC>

DAT register accessor: an alias for Reg<DAT_SPEC>

FLAGS register accessor: an alias for Reg<FLAGS_SPEC>

INTEN register accessor: an alias for Reg<INTEN_SPEC>

SEQ_CTRL register accessor: an alias for Reg<SEQ_CTRL_SPEC>

SEQ_GDAT register accessor: an alias for Reg<SEQ_GDAT_SPEC>

THR0_HIGH register accessor: an alias for Reg<THR0_HIGH_SPEC>

THR0_LOW register accessor: an alias for Reg<THR0_LOW_SPEC>

THR1_HIGH register accessor: an alias for Reg<THR1_HIGH_SPEC>

THR1_LOW register accessor: an alias for Reg<THR1_LOW_SPEC>

TRM register accessor: an alias for Reg<TRM_SPEC>