|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
struct i2c_periph * i2c_p
bool initialized
config done flag
struct i2c_transaction i2c_trans
bool is_ms5607
TRUE if MS5607, FALSE if MS5611.
static void ms5611_i2c_read(struct Ms5611_I2c *ms)
convenience function to trigger new measurement.
void ms5611_i2c_periodic_check(struct Ms5611_I2c *ms)
Periodic function to ensure proper delay after triggering reset or conversion.
void ms5611_i2c_start_configure(struct Ms5611_I2c *ms)
volatile bool data_available
data ready flag
void ms5611_i2c_start_conversion(struct Ms5611_I2c *ms)
I2C transaction structure.
int32_t prom_cnt
number of bytes read from PROM
static void ms5611_i2c_periodic(struct Ms5611_I2c *ms)
convenience function
void ms5611_i2c_event(struct Ms5611_I2c *ms)
void ms5611_i2c_init(struct Ms5611_I2c *ms, struct i2c_periph *i2c_p, uint8_t addr, bool is_ms5607)