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_ms5611_i2c.h
Go to the documentation of this file.
1 #ifndef BARO_MS56111_I2C_H
2 #define BARO_MS56111_I2C_H
3 
4 #include "std.h"
5 
6 /* we use OSR=4096 for maximum resolution */
7 #define MS5611_SOFT_RESET 0x1E
8 #define MS5611_PROM_READ 0xA0
9 #define MS5611_START_CONV_D1 0x48
10 #define MS5611_START_CONV_D2 0x58
11 #define MS5611_ADC_READ 0x00
12 
13 #define PROM_NB 8
14 
15 #define BARO_MS5611_DT 0.05
16 #define BARO_MS5611_R 20
17 #define BARO_MS5611_SIGMA2 1
18 extern bool_t baro_ms5611_enabled;
19 extern float baro_ms5611_r;
20 extern float baro_ms5611_sigma2;
21 
34 };
35 
36 void baro_ms5611_init(void);
37 void baro_ms5611_periodic(void);
38 void baro_ms5611_d1(void);
39 void baro_ms5611_d2(void);
40 void baro_ms5611_event(void);
41 
42 #endif
void baro_ms5611_d2(void)
void baro_ms5611_init(void)
bool_t baro_ms5611_enabled
ms5611_stat
void baro_ms5611_d1(void)
float baro_ms5611_sigma2
float baro_ms5611_r
void baro_ms5611_event(void)
void baro_ms5611_periodic(void)