Paparazzi UAS  v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
lpcADC.h
Go to the documentation of this file.
1 /******************************************************************************
2  *
3  * $RCSfile$
4  * $Revision$
5  *
6  * Header file for Philips LPC ARM Processors.
7  * Copyright 2004 R O SoftWare
8  *
9  * No guarantees, warrantees, or promises, implied or otherwise.
10  * May be used for hobby or commercial purposes provided copyright
11  * notice remains intact.
12  *
13  *****************************************************************************/
14 #ifndef INC_LPC_ADC_H
15 #define INC_LPC_ADC_H
16 
17 // A/D Converter Registers
18 typedef struct
19 {
20  REG32 cr; // Control Register
21  REG32 gdr; // Global Data Register
22  REG32 gsr; // Global Start Register
23  REG32 inten; // Interrupt Enable Register
24  REG32 dr0; // Channel 0 Data Register
25  REG32 dr1; // Channel 1 Data Register
26  REG32 dr2; // Channel 2 Data Register
27  REG32 dr3; // Channel 3 Data Register
28  REG32 dr4; // Channel 4 Data Register
29  REG32 dr5; // Channel 5 Data Register
30  REG32 dr6; // Channel 6 Data Register
31  REG32 dr7; // Channel 7 Data Register
32  REG32 stat; // Status Register
33 } adcRegs_t;
34 
35 #endif
#define REG32
Definition: LPC21xx.h:20
REG32 dr1
Definition: lpcADC.h:25
REG32 stat
Definition: lpcADC.h:32
REG32 dr2
Definition: lpcADC.h:26
REG32 inten
Definition: lpcADC.h:23
REG32 dr4
Definition: lpcADC.h:28
REG32 dr0
Definition: lpcADC.h:24
REG32 dr6
Definition: lpcADC.h:30
REG32 dr7
Definition: lpcADC.h:31
REG32 cr
Definition: lpcADC.h:20
REG32 dr5
Definition: lpcADC.h:29
REG32 gdr
Definition: lpcADC.h:21
REG32 dr3
Definition: lpcADC.h:27
REG32 gsr
Definition: lpcADC.h:22