void ms5611_i2c_start_configure(struct Ms5611_I2c *ms)
bool_t initialized
config done flag
void ms5611_i2c_init(struct Ms5611_I2c *ms, struct i2c_periph *i2c_p, uint8_t addr, bool_t is_ms5607)
int32_t prom_cnt
number of bytes read from PROM
MS5611 barometer driver common interface (I2C and SPI).
void ms5611_i2c_start_conversion(struct Ms5611_I2c *ms)
void ms5611_i2c_periodic_check(struct Ms5611_I2c *ms)
Periodic function to ensure proper delay after triggering reset or conversion.
static void ms5611_i2c_periodic(struct Ms5611_I2c *ms)
convenience function
volatile bool_t data_available
data ready flag
I2C transaction structure.
bool_t is_ms5607
TRUE if MS5607, FALSE if MS5611.
I2C peripheral structure.
struct i2c_transaction i2c_trans
struct i2c_periph * i2c_p
void ms5611_i2c_event(struct Ms5611_I2c *ms)
static void ms5611_i2c_read(struct Ms5611_I2c *ms)
convenience function to trigger new measurement.
Architecture independent I2C (Inter-Integrated Circuit Bus) API.