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