39 #define MPU60X0_BUFFER_EXT_LEN 16
88 #endif // MPU60X0_I2C_H
uint8_t data_ext[MPU60X0_BUFFER_EXT_LEN]
void mpu60x0_i2c_read(struct Mpu60x0_I2c *mpu)
void mpu60x0_i2c_event(struct Mpu60x0_I2c *mpu)
struct Mpu60x0Config config
union Mpu60x0_I2c::@41 data_accel
Mpu60x0I2cSlaveInitStatus
union Mpu60x0_I2c::@42 data_rates
struct i2c_transaction i2c_trans
float temp
temperature in degrees Celcius
#define MPU60X0_BUFFER_EXT_LEN
bool_t initialized
config done flag
I2C transaction structure.
I2C peripheral structure.
void mpu60x0_i2c_init(struct Mpu60x0_I2c *mpu, struct i2c_periph *i2c_p, uint8_t addr)
void mpu60x0_i2c_start_configure(struct Mpu60x0_I2c *mpu)
MPU-60X0 driver common interface (I2C and SPI).
static void mpu60x0_i2c_periodic(struct Mpu60x0_I2c *mpu)
convenience function: read or start configuration if not already initialized
enum Mpu60x0I2cSlaveInitStatus slave_init_status
struct i2c_periph * i2c_p
volatile bool_t data_available
data ready flag
Paparazzi fixed point algebra.
Architecture independent I2C (Inter-Integrated Circuit Bus) API.