bool drdy_int_enable
Enable Data Ready Interrupt.
enum Mpu9250DLPFGyro dlpf_gyro_cfg
Digital Low Pass Filter for gyroscope.
#define MPU9250_SIG_COND_RESET
MPU-60X0 driver common interface (I2C and SPI).
#define MPU9250_DEFAULT_SMPLRT_DIV
Default sample rate divider.
enum Mpu9250GyroRanges gyro_range
deg/s Range
enum Mpu9250ConfStatus init_status
init status
uint8_t nb_bytes
number of bytes to read starting with MPU9250_REG_INT_STATUS
uint8_t clk_sel
Clock select.
#define MPU9250_DEFAULT_DLPF_GYRO_CFG
Default internal sampling (1kHz, 42Hz LP Bandwidth)
#define MPU9250_REG_ACCEL_CONFIG
#define MPU9250_DEFAULT_DLPF_ACCEL_CFG
Default internal sampling (1kHz, 42Hz LP Bandwidth)
enum Mpu9250DLPFAccel dlpf_accel_cfg
Digital Low Pass Filter for accelerometer.
bool i2c_bypass
Bypass MPU I2C.
bool mpu9250_configure_i2c_slaves(Mpu9250ConfigSet mpu_set, void *mpu)
Configure I2C slaves of the MPU.
#define MPU9250_REG_PWR_MGMT_1
#define MPU9250_FIFO_RESET
#define MPU9250_DEFAULT_FS_SEL
Default gyro full scale range +- 2000°/s.
#define MPU9250_REG_CONFIG
void mpu9250_send_config(Mpu9250ConfigSet mpu_set, void *mpu, struct Mpu9250Config *config)
Configuration sequence called once before normal use.
void(* Mpu9250ConfigSet)(void *mpu, uint8_t _reg, uint8_t _val)
Configuration function prototype.
#define MPU9250_I2C_MST_RESET
void mpu9250_set_default_config(struct Mpu9250Config *c)
uint8_t nb_slaves
number of used I2C slaves
#define MPU9250_DEFAULT_AFS_SEL
Default accel full scale range +- 16g.
enum Mpu9250AccelRanges accel_range
g Range
#define MPU9250_REG_USER_CTRL
#define MPU9250_REG_ACCEL_CONFIG_2
static const struct usb_config_descriptor config
#define MPU9250_REG_GYRO_CONFIG
#define MPU9250_REG_SMPLRT_DIV
uint8_t nb_slave_init
number of already configured/initialized slaves
uint8_t smplrt_div
Sample rate divider.
bool initialized
config done flag
#define MPU9250_DEFAULT_CLK_SEL
Default clock: PLL with X gyro reference.
#define MPU9250_REG_INT_ENABLE