26 #ifndef AIRSPEED_MS45XX_I2C_H
27 #define AIRSPEED_MS45XX_I2C_H
float pressure_scale
Scaling factor from raw measurement to Pascal.
bool autoset_offset
Set offset value from current filtered value.
void ms45xx_i2c_event(void)
float pressure_offset
Offset in Pascal.
void ms45xx_i2c_periodic(void)
struct AirspeedMs45xx ms45xx
float airspeed_scale
Quadratic scale factor to convert (differential) pressure to airspeed.
bool pressure_type
Pressure type Differential of Gauge.
float pressure
(differential) pressure in Pascal
bool sync_send
Flag to enable sending every new measurement via telemetry for debugging purpose.
int16_t temperature
Temperature in 0.1 deg Celcius.
void ms45xx_i2c_init(void)
float airspeed
Airspeed in m/s estimated from (differential) pressure.
short int16_t
Typedef defining 16 bit short type.