The friendly Operating System for the Internet of Things
bmp180_internals.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2016 Inria
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
21 #ifndef BMP180_REGS_H
22 #define BMP180_REGS_H
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
32 #define BMP180_ADDR (0x77) /* 7 bit address */
33 
39 #define BMP180_REGISTER_ID (0xD0)
40 #define BMP180_REGISTER_CONTROL (0xF4)
41 #define BMP180_REGISTER_DATA (0xF6)
42 #define BMP180_TEMPERATURE_COMMAND (0x2E)
43 #define BMP180_PRESSURE_COMMAND (0x34)
44 #define BMP180_CALIBRATION_AC1 (0xAA)
45 
51 #define BMP180_ULTRALOWPOWER_DELAY (5000UL)
52 #define BMP180_STANDARD_DELAY (8000UL)
53 #define BMP180_HIGHRES_DELAY (14000UL)
54 #define BMP180_ULTRAHIGHRES_DELAY (26000UL)
55 
57 #ifdef __cplusplus
58 }
59 #endif
60 
61 #endif /* BMP180_REGS_H */
62