70 #endif // BMI088_I2C_H
struct Bmi088Config config
struct i2c_transaction accel_trans
i2c transaction for accel
union Bmi088_I2c::@307 data_accel
void bmi088_i2c_event(struct Bmi088_I2c *bmi)
union Bmi088_I2c::@308 data_rates
struct i2c_periph * i2c_p
struct i2c_transaction gyro_trans
i2c transaction for gyro
I2C transaction structure.
static void bmi088_i2c_periodic(struct Bmi088_I2c *bmi)
convenience function: read or start configuration if not already initialized
void bmi088_i2c_start_configure(struct Bmi088_I2c *bmi)
volatile bool gyro_available
gyro data ready flag
BMI088 driver common interface (I2C and SPI).
bool initialized
config done flag
volatile bool accel_available
accel data ready flag
void bmi088_i2c_init(struct Bmi088_I2c *bmi, struct i2c_periph *i2c_p, uint8_t gyro_addr, uint8_t accel_addr)
void bmi088_i2c_read(struct Bmi088_I2c *bmi)
Paparazzi fixed point algebra.
Architecture independent I2C (Inter-Integrated Circuit Bus) API.