Paparazzi UAS
v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
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
REG32
#define REG32
Definition:
LPC21xx.h:20
adcRegs_t::dr1
REG32 dr1
Definition:
lpcADC.h:25
adcRegs_t::stat
REG32 stat
Definition:
lpcADC.h:32
adcRegs_t::dr2
REG32 dr2
Definition:
lpcADC.h:26
adcRegs_t::inten
REG32 inten
Definition:
lpcADC.h:23
adcRegs_t
Definition:
lpcADC.h:18
adcRegs_t::dr4
REG32 dr4
Definition:
lpcADC.h:28
adcRegs_t::dr0
REG32 dr0
Definition:
lpcADC.h:24
adcRegs_t::dr6
REG32 dr6
Definition:
lpcADC.h:30
adcRegs_t::dr7
REG32 dr7
Definition:
lpcADC.h:31
adcRegs_t::cr
REG32 cr
Definition:
lpcADC.h:20
adcRegs_t::dr5
REG32 dr5
Definition:
lpcADC.h:29
adcRegs_t::gdr
REG32 gdr
Definition:
lpcADC.h:21
adcRegs_t::dr3
REG32 dr3
Definition:
lpcADC.h:27
adcRegs_t::gsr
REG32 gsr
Definition:
lpcADC.h:22
sw
airborne
arch
lpc21
include
lpcADC.h
Generated on Wed Feb 10 2021 04:33:54 for Paparazzi UAS by
1.8.8