Paparazzi UAS  v5.15_devel-111-g8fb4629
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
bmp085_regs.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2010 Martin Mueller
3  * Copyright (C) 2013 Felix Ruess <felix.ruess@gmail.com>
4  *
5  * This file is part of paparazzi.
6  *
7  * paparazzi is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2, or (at your option)
10  * any later version.
11  *
12  * paparazzi is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with paparazzi; see the file COPYING. If not, write to
19  * the Free Software Foundation, 59 Temple Place - Suite 330,
20  * Boston, MA 02111-1307, USA.
21  */
22 
27 #ifndef BMP085_REGS_H
28 #define BMP085_REGS_H
29 
30 #define BMP085_EEPROM_AC1 0xAA
31 #define BMP085_EEPROM_AC2 0xAC
32 #define BMP085_EEPROM_AC3 0xAE
33 #define BMP085_EEPROM_AC4 0xB0
34 #define BMP085_EEPROM_AC5 0xB2
35 #define BMP085_EEPROM_AC6 0xB4
36 #define BMP085_EEPROM_B1 0xB6
37 #define BMP085_EEPROM_B2 0xB8
38 #define BMP085_EEPROM_MB 0xBA
39 #define BMP085_EEPROM_MC 0xBC
40 #define BMP085_EEPROM_MD 0xBE
41 
42 #define BMP085_CTRL_REG 0xF4
43 
44 #define BMP085_START_TEMP 0x2E
45 #define BMP085_START_P0 0x34
46 #define BMP085_START_P1 0x74
47 #define BMP085_START_P2 0xB4
48 #define BMP085_START_P3 0xF4
49 
50 #define BMP085_DAT_MSB 0xF6
51 #define BMP085_DAT_LSB 0xF7
52 #define BMP085_DAT_XLSB 0xF8
53 
55 #define BMP085_OSS 3
56 
57 #define BMP085_SLAVE_ADDR 0xEE
58 
59 #endif