LSM6DS33 accelerometer and gyrometer driver I2C interface.
enum Lsm6ConfStatus init_status
init status
union Lsm6_I2c::@328 data_g
void lsm6_i2c_read(struct Lsm6_I2c *lsm)
union Lsm6_I2c::@327 data_xl
bool initialized
config done flag
volatile bool data_available
data ready flag
I2C transaction structure.
void lsm6_i2c_init(struct Lsm6_I2c *lsm, struct i2c_periph *i2c_p, uint8_t addr)
struct i2c_transaction i2c_trans
void lsm6_i2c_event(struct Lsm6_I2c *lsm)
void lsm6_i2c_start_configure(struct Lsm6_I2c *lsm)
struct i2c_periph * i2c_p
static void lsm6_i2c_periodic(struct Lsm6_I2c *lsm)
convenience function: read or start configuration if not already initialized
Paparazzi fixed point algebra.
Architecture independent I2C (Inter-Integrated Circuit Bus) API.