openMMC
Open Source Modular MMC for AMCs
|
Analog-to-Digital Converter (ADC) (ADC) More...
#include <LPC176x5x.h>
Data Fields | |
__IOM uint32_t | CR |
__IOM uint32_t | GDR |
__IM uint32_t | RESERVED |
__IOM uint32_t | INTEN |
__IM uint32_t | DR [8] |
__IM uint32_t | STAT |
__IOM uint32_t | TRM |
Analog-to-Digital Converter (ADC) (ADC)
__IOM uint32_t LPC_ADC_Type::CR |
< (@ 0x40034000) ADC Structure
(@ 0x00000000) A/D Control Register. The ADCR register must be written to select the operating mode before A/D conversion can occur.
__IM uint32_t LPC_ADC_Type::DR[8] |
(@ 0x00000010) A/D Channel 0 Data Register. This register contains the result of the most recent conversion completed on channel 0.
__IOM uint32_t LPC_ADC_Type::GDR |
(@ 0x00000004) A/D Global Data Register. This register contains the ADC's DONE bit and the result of the most recent A/D conversion.
__IOM uint32_t LPC_ADC_Type::INTEN |
(@ 0x0000000C) 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.
__IM uint32_t LPC_ADC_Type::RESERVED |
__IM uint32_t LPC_ADC_Type::STAT |
(@ 0x00000030) 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/DMA flag.
__IOM uint32_t LPC_ADC_Type::TRM |
(@ 0x00000034) ADC trim register.