Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
baro_bmp280_i2c.h
Go to the documentation of this file.
1 /*
2  * Chris Efstathiou hendrixgr@gmail.com
3  *
4  * This file is part of paparazzi.
5  *
6  * paparazzi is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2, or (at your option)
9  * any later version.
10  *
11  * paparazzi is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with paparazzi; see the file COPYING. If not, see
18  * <http://www.gnu.org/licenses/>.
19  *
20  */
21 
29 #ifndef BARO_BMP280_I2C_H
30 #define BARO_BMP280_I2C_H
31 
32 #include "peripherals/bmp280_i2c.h"
33 
34 extern struct Bmp280_I2c baro_bmp280;
35 
36 extern float baro_alt;
37 extern bool baro_alt_valid;
38 
39 void baro_bmp280_init(void);
40 void baro_bmp280_periodic(void);
41 void baro_bmp280_event(void);
42 
43 #endif
baro_bmp280_init
void baro_bmp280_init(void)
Definition: baro_bmp280_i2c.c:68
baro_alt_valid
bool baro_alt_valid
Definition: baro_bmp280_i2c.c:49
baro_alt
float baro_alt
Definition: baro_bmp280_i2c.c:46
baro_bmp280_event
void baro_bmp280_event(void)
Definition: baro_bmp280_i2c.c:82
baro_bmp280
struct Bmp280_I2c baro_bmp280
Definition: baro_bmp280_i2c.c:52
Bmp280_I2c
Definition: bmp280_i2c.h:35
bmp280_i2c.h
Sensor driver for BMP280 sensor via I2C.
baro_bmp280_periodic
void baro_bmp280_periodic(void)
Definition: baro_bmp280_i2c.c:77