[][src]Module lpc11xx::adc

10-bit Analog-to-Digital Converter

Modules

cr

A/D Control Register. The ADCR register must be written to select the operating mode before A/D conversion can occur

dr

A/D Channel n Data Register. This register contains the result of the most recent conversion completed on channel n

gdr

A/D Global Data Register. Contains the result of the most recent A/D conversion

inten

A/D Interrupt Enable Register. This register contains enable bits that allow the DONE flag of each A/D channel to be included or excluded from contributing to the generation of an A/D interrupt

stat

A/D Status Register. This register contains DONE and OVERRUN flags for all of the A/D channels, as well as the A/D interrupt flag

Structs

RegisterBlock

Register block

Type Definitions

CR

A/D Control Register. The ADCR register must be written to select the operating mode before A/D conversion can occur

DR

A/D Channel n Data Register. This register contains the result of the most recent conversion completed on channel n

GDR

A/D Global Data Register. Contains the result of the most recent A/D conversion

INTEN

A/D Interrupt Enable Register. This register contains enable bits that allow the DONE flag of each A/D channel to be included or excluded from contributing to the generation of an A/D interrupt

STAT

A/D Status Register. This register contains DONE and OVERRUN flags for all of the A/D channels, as well as the A/D interrupt flag