Paparazzi UAS  v5.18.0_stable
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 #endif
baro_ms5611_alt
float baro_ms5611_alt
Definition: baro_ms5611_i2c.c:52
baro_ms5611_event
void baro_ms5611_event(void)
Definition: baro_ms5611_i2c.c:90
baro_ms5611_periodic_check
void baro_ms5611_periodic_check(void)
Definition: baro_ms5611_i2c.c:71
ms5611_i2c.h
std.h
Ms5611_I2c
Definition: ms5611_i2c.h:36
baro_ms5611_enabled
bool baro_ms5611_enabled
Definition: baro_ms5611_i2c.c:54
baro_ms5611_send_coeff
void baro_ms5611_send_coeff(void)
Definition: baro_ms5611_i2c.c:115
baro_ms5611_sigma2
float baro_ms5611_sigma2
Definition: baro_ms5611_i2c.c:57
baro_ms5611_read
void baro_ms5611_read(void)
trigger new measurement or initialize if needed
Definition: baro_ms5611_i2c.c:83
baro_ms5611_alt_valid
bool baro_ms5611_alt_valid
Definition: baro_ms5611_i2c.c:53
baro_ms5611_r
float baro_ms5611_r
Definition: baro_ms5611_i2c.c:56
baro_ms5611
struct Ms5611_I2c baro_ms5611
Definition: baro_ms5611_i2c.c:49
baro_ms5611_init
void baro_ms5611_init(void)
Definition: baro_ms5611_i2c.c:60