|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
39 #define MPU60X0_BUFFER_EXT_LEN 16
88 #endif // MPU60X0_I2C_H
float temp
temperature in degrees Celcius
void mpu60x0_i2c_init(struct Mpu60x0_I2c *mpu, struct i2c_periph *i2c_p, uint8_t addr)
static void mpu60x0_i2c_periodic(struct Mpu60x0_I2c *mpu)
convenience function: read or start configuration if not already initialized
@ MPU60X0_I2C_CONF_I2C_MST_DELAY
@ MPU60X0_I2C_CONF_SLAVES_CONFIGURE
void mpu60x0_i2c_start_configure(struct Mpu60x0_I2c *mpu)
@ MPU60X0_I2C_CONF_I2C_MST_CLK
@ MPU60X0_I2C_CONF_I2C_SMPLRT
#define MPU60X0_BUFFER_EXT_LEN
@ MPU60X0_I2C_CONF_I2C_BYPASS_DIS
struct i2c_periph * i2c_p
Paparazzi fixed point algebra.
@ MPU60X0_I2C_CONF_I2C_MST_DIS
void mpu60x0_i2c_read(struct Mpu60x0_I2c *mpu)
@ MPU60X0_I2C_CONF_I2C_MST_EN
enum Mpu60x0I2cSlaveInitStatus slave_init_status
struct i2c_transaction i2c_trans
void mpu60x0_i2c_event(struct Mpu60x0_I2c *mpu)
struct Mpu60x0Config config
I2C transaction structure.
Mpu60x0I2cSlaveInitStatus
uint8_t data_ext[MPU60X0_BUFFER_EXT_LEN]
union Mpu60x0_I2c::@331 data_accel
@ MPU60X0_I2C_CONF_I2C_BYPASS_EN
union Mpu60x0_I2c::@332 data_rates
@ MPU60X0_I2C_CONF_UNINIT
volatile bool data_available
data ready flag
bool initialized
config done flag