BMI088 driver common interface (I2C and SPI).
bool initialized
config done flag
static void bmi088_i2c_periodic(struct Bmi088_I2c *bmi)
convenience function: read or start configuration if not already initialized
void bmi088_i2c_init(struct Bmi088_I2c *bmi, struct i2c_periph *i2c_p, uint8_t gyro_addr, uint8_t accel_addr)
struct i2c_transaction gyro_trans
i2c transaction for gyro
volatile bool accel_available
accel data ready flag
struct i2c_transaction accel_trans
i2c transaction for accel
union Bmi088_I2c::@312 data_accel
struct Bmi088Config config
union Bmi088_I2c::@313 data_rates
void bmi088_i2c_read(struct Bmi088_I2c *bmi)
volatile bool gyro_available
gyro data ready flag
void bmi088_i2c_event(struct Bmi088_I2c *bmi)
void bmi088_i2c_start_configure(struct Bmi088_I2c *bmi)
struct i2c_periph * i2c_p
I2C transaction structure.
Architecture independent I2C (Inter-Integrated Circuit Bus) API.
Paparazzi fixed point algebra.
short int16_t
Typedef defining 16 bit short type.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.