Loading...
Searching...
No Matches
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
20#ifndef BMP180_INTERNALS_H
21#define BMP180_INTERNALS_H
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
31#define BMP180_ADDR (0x77) /* 7 bit address */
38#define BMP180_REGISTER_ID (0xD0)
39#define BMP180_REGISTER_CONTROL (0xF4)
40#define BMP180_REGISTER_DATA (0xF6)
41#define BMP180_TEMPERATURE_COMMAND (0x2E)
42#define BMP180_PRESSURE_COMMAND (0x34)
43#define BMP180_CALIBRATION_AC1 (0xAA)
50#define BMP180_ULTRALOWPOWER_DELAY_MS (5UL)
51#define BMP180_STANDARD_DELAY_MS (8UL)
52#define BMP180_HIGHRES_DELAY_MS (14UL)
53#define BMP180_ULTRAHIGHRES_DELAY_MS (26UL)
56#ifdef __cplusplus
57}
58#endif
59
60#endif /* BMP180_INTERNALS_H */