Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
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"
6 
8 #define BARO_MS5611_DT BARO_MS5611_READ_PERIOD
9 #define BARO_MS5611_R 20
10 #define BARO_MS5611_SIGMA2 1
11 extern float baro_ms5611_r;
12 extern float baro_ms5611_sigma2;
13 
14 extern float baro_ms5611_alt;
15 extern bool baro_ms5611_alt_valid;
16 extern bool baro_ms5611_enabled;
17 
18 extern struct Ms5611_I2c baro_ms5611;
19 
20 extern void baro_ms5611_init(void);
21 extern void baro_ms5611_read(void);
22 extern void baro_ms5611_periodic_check(void);
23 extern void baro_ms5611_event(void);
24 extern void baro_ms5611_send_coeff(void);
25 
26 #define baro_ms5611_periodic() { baro_ms5611_read(); baro_ms5611_periodic_check(); }
27 
28 #endif
float baro_ms5611_sigma2
bool baro_ms5611_alt_valid
float baro_ms5611_alt
struct Ms5611_I2c baro_ms5611
void baro_ms5611_periodic_check(void)
void baro_ms5611_init(void)
bool baro_ms5611_enabled
void baro_ms5611_read(void)
trigger new measurement or initialize if needed
void baro_ms5611_send_coeff(void)
float baro_ms5611_r
void baro_ms5611_event(void)
Measurement Specialties (Intersema) MS5611-01BA and MS5607-02BA03 pressure/temperature sensor interfa...