|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
68 c->drdy_int_enable =
false;
78 c->i2c_bypass =
false;
83 switch (
config->init_status) {
128 if (
config->nb_slaves > 0) {
143 config->initialized =
true;
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 MPU9250_REG_INT_ENABLE
@ MPU9250_CONF_INT_ENABLE
#define MPU9250_ACCEL_SENS_4G
const float MPU9250_GYRO_SENS[4]
#define MPU9250_SIG_COND_RESET
#define MPU9250_REG_ACCEL_CONFIG
#define MPU9250_ACCEL_SENS_2G
default accel sensitivy from the datasheet sens = 9.81 [m/s^2] / [LSB/g] * 2^INT32_ACCEL_FRAC ex: MPU...
#define MPU9250_DEFAULT_SMPLRT_DIV
Default sample rate divider.
#define MPU9250_DEFAULT_DLPF_ACCEL_CFG
Default internal sampling (1kHz, 42Hz LP Bandwidth)
#define MPU9250_ACCEL_SENS_16G_NUM
#define MPU9250_GYRO_SENS_1000
#define MPU9250_ACCEL_SENS_2G_DEN
#define MPU9250_GYRO_SENS_2000
void mpu9250_send_config(Mpu9250ConfigSet mpu_set, void *mpu, struct Mpu9250Config *config)
Configuration sequence called once before normal use.
#define MPU9250_ACCEL_SENS_4G_NUM
#define MPU9250_GYRO_SENS_1000_NUM
#define MPU9250_GYRO_SENS_250
default gyro sensitivy from the datasheet sens = 1/ [LSB/(deg/s)] * pi/180 * 2^INT32_RATE_FRAC ex: MP...
#define MPU9250_DEFAULT_DLPF_GYRO_CFG
Default internal sampling (1kHz, 42Hz LP Bandwidth)
void mpu9250_set_default_config(struct Mpu9250Config *c)
@ MPU9250_CONF_DLPF_ACCEL
#define MPU9250_FIFO_RESET
static const struct usb_config_descriptor config
#define MPU9250_REG_CONFIG
@ MPU9250_CONF_USER_RESET
#define MPU9250_ACCEL_SENS_8G
#define MPU9250_I2C_MST_RESET
#define MPU9250_GYRO_SENS_2000_NUM
const float MPU9250_ACCEL_SENS[4]
bool mpu9250_configure_i2c_slaves(Mpu9250ConfigSet mpu_set, void *mpu)
Configure I2C slaves of the MPU.
#define MPU9250_REG_ACCEL_CONFIG_2
#define MPU9250_GYRO_SENS_2000_DEN
#define MPU9250_REG_PWR_MGMT_1
#define MPU9250_DEFAULT_FS_SEL
Default gyro full scale range +- 2000°/s.
#define MPU9250_ACCEL_SENS_16G_DEN
const int32_t MPU9250_GYRO_SENS_FRAC[4][2]
#define MPU9250_ACCEL_SENS_2G_NUM
#define MPU9250_ACCEL_SENS_8G_NUM
#define MPU9250_GYRO_SENS_1000_DEN
#define MPU9250_GYRO_SENS_500_NUM
#define MPU9250_GYRO_SENS_500
#define MPU9250_ACCEL_SENS_4G_DEN
void(* Mpu9250ConfigSet)(void *mpu, uint8_t _reg, uint8_t _val)
Configuration function prototype.
#define MPU9250_DEFAULT_AFS_SEL
Default accel full scale range +- 16g.
#define MPU9250_ACCEL_SENS_8G_DEN
#define MPU9250_REG_GYRO_CONFIG
#define MPU9250_GYRO_SENS_250_NUM
#define MPU9250_DEFAULT_CLK_SEL
Default clock: PLL with X gyro reference.
#define MPU9250_REG_USER_CTRL
#define MPU9250_ACCEL_SENS_16G
#define MPU9250_GYRO_SENS_500_DEN
#define MPU9250_REG_SMPLRT_DIV
@ MPU9250_CONF_I2C_SLAVES
const int32_t MPU9250_ACCEL_SENS_FRAC[4][2]
#define MPU9250_GYRO_SENS_250_DEN