LPCOpen Platform
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
IP_ADC_001_Type Struct Reference

10 or 12-bit ADC register block structure More...

#include "adc_001.h"

Data Fields

__IO uint32_t CR
 
__I uint32_t GDR
 
__I uint32_t RESERVED0
 
__IO uint32_t INTEN
 
__I uint32_t DR [8]
 
__I uint32_t STAT
 
__IO uint32_t ADTRM
 

Detailed Description

10 or 12-bit ADC register block structure

Definition at line 50 of file adc_001.h.

Field Documentation

__IO uint32_t ADTRM

Definition at line 58 of file adc_001.h.

__IO uint32_t CR

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

Definition at line 51 of file adc_001.h.

__I uint32_t DR[8]

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

Definition at line 55 of file adc_001.h.

__I uint32_t GDR

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

Definition at line 52 of file adc_001.h.

__IO uint32_t 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.

Definition at line 54 of file adc_001.h.

__I uint32_t RESERVED0

Definition at line 53 of file adc_001.h.

__I uint32_t 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.

Definition at line 56 of file adc_001.h.


The documentation for this struct was generated from the following file: