Paparazzi UAS
v5.10_stable-5-g83a0da5-dirty
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
lpcI2C.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_I2C_H
15
#define INC_LPC_I2C_H
16
17
// I2C Interface Registers
18
typedef
struct
19
{
20
REG_8
conset
;
// Control Set Register
21
REG_8
_pad0[3];
22
REG_8
stat
;
// Status Register
23
REG_8
_pad1[3];
24
REG_8
dat
;
// Data Register
25
REG_8
_pad2[3];
26
REG_8
adr
;
// Slave Address Register
27
REG_8
_pad3[3];
28
REG16
sclh
;
// SCL Duty Cycle Register (high half word)
29
REG16
_pad4
;
30
REG16
scll
;
// SCL Duty Cycle Register (low half word)
31
REG16
_pad5
;
32
REG_8
conclr
;
// Control Clear Register
33
REG_8
_pad6[3];
34
}
i2cRegs_t
;
35
36
#endif
REG_8
#define REG_8
Definition:
LPC21xx.h:18
i2cRegs_t::conclr
REG_8 conclr
Definition:
lpcI2C.h:32
i2cRegs_t::_pad5
REG16 _pad5
Definition:
lpcI2C.h:31
i2cRegs_t::scll
REG16 scll
Definition:
lpcI2C.h:30
i2cRegs_t
Definition:
lpcI2C.h:18
i2cRegs_t::stat
REG_8 stat
Definition:
lpcI2C.h:22
i2cRegs_t::conset
REG_8 conset
Definition:
lpcI2C.h:20
i2cRegs_t::dat
REG_8 dat
Definition:
lpcI2C.h:24
i2cRegs_t::adr
REG_8 adr
Definition:
lpcI2C.h:26
REG16
#define REG16
Definition:
LPC21xx.h:19
i2cRegs_t::_pad4
REG16 _pad4
Definition:
lpcI2C.h:29
i2cRegs_t::sclh
REG16 sclh
Definition:
lpcI2C.h:28
sw
airborne
arch
lpc21
include
lpcI2C.h
Generated on Wed Aug 28 2019 16:28:53 for Paparazzi UAS by
1.8.8