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)
uint16_t raw_p
Raw pressure.
void airspeed_ms45xx_i2c_change_tau(float new_tau)
struct AirspeedMs45xx ms45xx
bool offset_set
Offset is set once.
bool pressure_type
Pressure type Differential of Gauge.
float pressure
(differential) pressure in Pascal
int16_t temperature
Temperature in 0.1 deg Celcius.
float lowpass_tau
Time constant for low pass filter.
void ms45xx_i2c_init(void)
float airspeed
Airspeed in m/s estimated from (differential) pressure.
unsigned short uint16_t
Typedef defining 16 bit unsigned short type.
short int16_t
Typedef defining 16 bit short type.