Paparazzi UAS  v4.2.2_stable-4-gcc32f65
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
baro.h
Go to the documentation of this file.
1 /*
2  * $Id$
3  *
4  * Copyright (C) 2010 The Paparazzi Team
5  *
6  * This file is part of paparazzi.
7  *
8  * paparazzi is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2, or (at your option)
11  * any later version.
12  *
13  * paparazzi is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with paparazzi; see the file COPYING. If not, write to
20  * the Free Software Foundation, 59 Temple Place - Suite 330,
21  * Boston, MA 02111-1307, USA.
22  */
23 
24 /*
25  *
26  * Brief: common barometric sensor implementation
27  *
28  */
29 
30 #ifndef SUBSYSTEMS_SENSORS_BARO_H
31 #define SUBSYSTEMS_SENSORS_BARO_H
32 
33 #include <std.h>
34 
35 enum BaroStatus {
38 };
39 
40 /* pressure in which units ? */
41 struct Baro {
45 };
46 
47 extern struct Baro baro;
48 
49 #include BOARD_CONFIG
50 #if defined BOARD_HAS_BARO
51 #include "baro_board.h"
52 #endif
53 
54 extern void baro_init(void);
55 extern void baro_periodic(void);
56 
57 #endif /* SUBSYSTEMS_SENSORS_BARO_H */
Definition: baro.h:41
int32_t absolute
Definition: baro.h:42
int32_t differential
Definition: baro.h:43
void baro_periodic(void)
Definition: baro_board.c:56
void baro_init(void)
Definition: baro_board.c:38
signed long int32_t
Definition: types.h:19
struct Baro baro
Definition: baro_board.c:34
enum BaroStatus status
Definition: baro.h:44
BaroStatus
Definition: baro.h:35