34 #ifndef DRIVERS_MS5525_AIRSPEED_HPP_ 35 #define DRIVERS_MS5525_AIRSPEED_HPP_ 40 #include <px4_platform_common/getopt.h> 103 static constexpr uint8_t
Q1 = 15;
104 static constexpr uint8_t
Q2 = 17;
105 static constexpr uint8_t
Q3 = 7;
106 static constexpr uint8_t
Q4 = 5;
107 static constexpr uint8_t
Q5 = 7;
108 static constexpr uint8_t
Q6 = 21;
127 uint8_t
prom_crc4(uint16_t n_prom[])
const;
static constexpr unsigned MEAS_RATE
static constexpr uint8_t Q3
static constexpr float MEAS_DRIVER_FILTER_FREQ
~MS5525() override=default
static constexpr uint8_t CMD_ADC_READ
math::LowPassFilter2p _filter
MS5525(uint8_t bus, uint8_t address=I2C_ADDRESS_1_MS5525DSO, const char *path=PATH_MS5525)
static constexpr uint8_t Q5
static constexpr uint8_t CMD_CONVERT_TEMP
static constexpr uint8_t CMD_PROM_START
static constexpr uint8_t Q2
void Run() override
Perform a poll cycle; collect from the previous measurement and start a new one.
uint8_t prom_crc4(uint16_t n_prom[]) const
static constexpr int64_t CONVERSION_INTERVAL
static constexpr uint8_t CMD_RESET
static constexpr uint8_t I2C_ADDRESS_1_MS5525DSO
static constexpr uint8_t CMD_CONVERT_PRES
static constexpr uint8_t Q6
static constexpr uint8_t Q1
static constexpr const char PATH_MS5525[]
static constexpr uint8_t Q4