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_MS5534A.h
Go to the documentation of this file.
1 /*
2  * $Id$
3  *
4  * Copyright (C) 2007 ENAC
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 
30 #ifndef BARO_MS5534A_H
31 #define BARO_MS5534A_H
32 
33 #include "std.h"
34 
35 #if USE_BARO_MS5534A
36 
37 extern bool_t baro_MS5534A_do_reset;
38 extern bool_t baro_MS5534A_available;
41 extern bool_t alt_baro_enabled;
43 extern float baro_MS5534A_r;
44 extern float baro_MS5534A_sigma2;
45 extern float baro_MS5534A_z;
46 
47 void baro_MS5534A_init(void);
48 void baro_MS5534A_reset(void);
49 
50 /* To be called not faster than 30Hz */
51 void baro_MS5534A_send(void);
52 
53 /* Set baro_MS5534A_available when pressure and temp are readable */
54 void baro_MS5534A_event_task( void );
55 
56 void baro_MS5534A_event( void );
57 
58 #endif // USE_BARO_MS5534A
59 
60 #endif // BARO_MS5534A_H
61 
unsigned short uint16_t
Definition: types.h:16
uint32_t baro_MS5534A_ground_pressure
Definition: sim_baro.c:11
uint16_t baro_MS5534A_temp
Definition: sim_baro.c:12
uint32_t baro_MS5534A_pressure
Definition: sim_baro.c:10
bool_t baro_MS5534A_do_reset
Definition: baro_MS5534A.c:40
void baro_MS5534A_event(void)
Definition: baro_MS5534A.c:255
void baro_MS5534A_send(void)
Definition: sim_baro.c:26
float baro_MS5534A_z
Definition: sim_baro.c:15
bool_t baro_MS5534A_available
Definition: sim_baro.c:9
unsigned long uint32_t
Definition: types.h:18
bool_t alt_baro_enabled
Definition: sim_baro.c:7
float baro_MS5534A_r
Definition: sim_baro.c:13
void baro_MS5534A_init(void)
Definition: sim_baro.c:17
void baro_MS5534A_event_task(void)
Definition: sim_baro.c:33
void baro_MS5534A_reset(void)
Definition: baro_MS5534A.c:160
float baro_MS5534A_sigma2
Definition: sim_baro.c:14