Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
baro_bmp280.h
Go to the documentation of this file.
1/*
2 * Chris Efstathiou hendrixgr@gmail.com
3 * Florian Sansou florian.sansou@enac.fr
4 *
5 * This file is part of paparazzi.
6 *
7 * paparazzi is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2, or (at your option)
10 * any later version.
11 *
12 * paparazzi is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with paparazzi; see the file COPYING. If not, see
19 * <http://www.gnu.org/licenses/>.
20 *
21 */
22
30#ifndef BARO_BMP280_H
31#define BARO_BMP280_H
32
33#include "peripherals/bmp280.h"
34
35extern struct bmp280_t baro_bmp280;
36
37extern float baro_alt;
38extern bool baro_alt_valid;
39
40void baro_bmp280_init(void);
41void baro_bmp280_periodic(void);
42void baro_bmp280_event(void);
43
44#endif
void baro_bmp280_periodic(void)
Definition baro_bmp280.c:98
bool baro_alt_valid
Definition baro_bmp280.c:62
void baro_bmp280_init(void)
Definition baro_bmp280.c:81
float baro_alt
Definition baro_bmp280.c:59
void baro_bmp280_event(void)
struct bmp280_t baro_bmp280
Definition baro_bmp280.c:65
Sensor driver for BMP280 sensor.