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
9#pragma once
10
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
30#define BMP180_ADDR (0x77) /* 7 bit address */
32
37#define BMP180_REGISTER_ID (0xD0)
38#define BMP180_REGISTER_CONTROL (0xF4)
39#define BMP180_REGISTER_DATA (0xF6)
40#define BMP180_TEMPERATURE_COMMAND (0x2E)
41#define BMP180_PRESSURE_COMMAND (0x34)
42#define BMP180_CALIBRATION_AC1 (0xAA)
44
49#define BMP180_ULTRALOWPOWER_DELAY_MS (5UL)
50#define BMP180_STANDARD_DELAY_MS (8UL)
51#define BMP180_HIGHRES_DELAY_MS (14UL)
52#define BMP180_ULTRAHIGHRES_DELAY_MS (26UL)
54
55#ifdef __cplusplus
56}
57#endif
58