Paparazzi UAS  v7.0_unstable
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
struct Bmp280_I2c baro_bmp280
void baro_bmp280_periodic(void)
bool baro_alt_valid
void baro_bmp280_init(void)
float baro_alt
void baro_bmp280_event(void)
Sensor driver for BMP280 sensor via I2C.