|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
69 c->drdy_int_enable =
false;
79 c->i2c_bypass =
false;
84 switch (
config->init_status) {
131 if (
config->nb_slaves > 0) {
153 config->initialized =
true;
#define MPU60X0_REG_GYRO_CONFIG
VIC slots used for the LPC2148 define name e g gps UART1_VIC_SLOT e g modem SPI1_VIC_SLOT SPI1 in mcu_periph spi_arch c or spi_slave_hs_arch c(and some others not using the SPI peripheral yet..) I2C0_VIC_SLOT 8 mcu_periph/i2c_arch.c I2C1_VIC_SLOT 9 mcu_periph/i2c_arch.c USB_VIC_SLOT 10 usb
#define MPU60X0_REG_PWR_MGMT_1
#define MPU60X0_DEFAULT_FS_SEL
Default gyro full scale range +- 2000°/s.
#define MPU60X0_REG_INT_ENABLE
#define MPU60X0_GYRO_SENS_250_DEN
#define MPU60X0_GYRO_SENS_2000_NUM
@ MPU60X0_CONF_I2C_SLAVES
#define MPU60X0_REG_SMPLRT_DIV
#define MPU60X0_ACCEL_SENS_8G
#define MPU60X0_REG_USER_CTRL
#define MPU60X0_FIFO_RESET
#define MPU60X0_ACCEL_SENS_2G_DEN
#define MPU60X0_REG_ACCEL_CONFIG2
@ MPU60X0_CONF_INT_ENABLE
#define MPU60X0_DEFAULT_AFS_SEL
Default accel full scale range +- 16g.
void(* Mpu60x0ConfigSet)(void *mpu, uint8_t _reg, uint8_t _val)
Configuration function prototype.
#define MPU60X0_REG_CONFIG
#define MPU60X0_GYRO_SENS_500_DEN
#define MPU60X0_GYRO_SENS_2000
#define MPU60X0_ACCEL_SENS_8G_DEN
#define MPU60X0_ACCEL_SENS_2G
default accel sensitivy from the datasheet sens = 9.81 [m/s^2] / [LSB/g] * 2^INT32_ACCEL_FRAC ex: MPU...
void mpu60x0_send_config(Mpu60x0ConfigSet mpu_set, void *mpu, struct Mpu60x0Config *config)
Configuration sequence called once before normal use.
static const struct usb_config_descriptor config
#define MPU60X0_ACCEL_SENS_4G_DEN
#define MPU60X0_GYRO_SENS_250_NUM
#define MPU60X0_ACCEL_SENS_4G
#define MPU60X0_DEFAULT_CLK_SEL
Default clock: PLL with X gyro reference.
#define MPU60X0_GYRO_SENS_250
default gyro sensitivy from the datasheet sens = 1/ [LSB/(deg/s)] * pi/180 * 2^INT32_RATE_FRAC ex: MP...
#define MPU60X0_GYRO_SENS_500
#define MPU60X0_GYRO_SENS_500_NUM
#define MPU60X0_GYRO_SENS_2000_DEN
#define MPU60X0_ACCEL_SENS_16G
#define MPU60X0_GYRO_SENS_1000
const int32_t MPU60X0_GYRO_SENS_FRAC[4][2]
#define MPU60X0_GYRO_SENS_1000_DEN
bool mpu60x0_configure_i2c_slaves(Mpu60x0ConfigSet mpu_set, void *mpu)
Configure I2C slaves of the MPU.
#define MPU60X0_DEFAULT_SMPLRT_DIV
Default sample rate divider.
const float MPU60X0_ACCEL_SENS[4]
const float MPU60X0_GYRO_SENS[4]
#define MPU60X0_ACCEL_SENS_4G_NUM
#define MPU60X0_ACCEL_SENS_16G_NUM
void mpu60x0_set_default_config(struct Mpu60x0Config *c)
#define MPU60X0_GYRO_SENS_1000_NUM
#define MPU60X0_DEFAULT_DLPF_CFG
Default internal sampling (1kHz, 98Hz LP Bandwidth)
#define MPU60X0_I2C_MST_RESET
#define MPU60X0_ACCEL_SENS_2G_NUM
#define MPU60X0_SIG_COND_RESET
#define MPU60X0_ACCEL_SENS_8G_NUM
#define MPU60X0_REG_ACCEL_CONFIG
@ MPU60X0_CONF_USER_RESET
#define MPU60X0_DEFAULT_DLPF_CFG_ACC
Default internal sampling for accelerometer ICM devices only (1kHz, 99Hz LP Bandwidth)
const int32_t MPU60X0_ACCEL_SENS_FRAC[4][2]
#define MPU60X0_REG_UNDOC1
#define MPU60X0_ACCEL_SENS_16G_DEN