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)
bool initialized
config done flag
void mpu60x0_i2c_event(struct Mpu60x0_I2c *mpu)
struct Mpu60x0Config config
Mpu60x0I2cSlaveInitStatus
union Mpu60x0_I2c::@312 data_accel
struct i2c_transaction i2c_trans
float temp
temperature in degrees Celcius
union Mpu60x0_I2c::@313 data_rates
#define MPU60X0_BUFFER_EXT_LEN
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
Paparazzi fixed point algebra.
volatile bool data_available
data ready flag
Architecture independent I2C (Inter-Integrated Circuit Bus) API.