|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
36 #define BMI088_DEFAULT_GYRO_RANGE BMI088_GYRO_RANGE_1000
37 #define BMI088_DEFAULT_GYRO_ODR BMI088_GYRO_ODR_1000_BW_116
39 #define BMI088_DEFAULT_ACCEL_RANGE BMI088_ACCEL_RANGE_12G
41 #define BMI088_DEFAULT_ACCEL_ODR BMI088_ACCEL_ODR_1600
43 #define BMI088_DEFAULT_ACCEL_BW BMI088_ACCEL_BW_OSR4
51 #define BMI088_GYRO_SENS_125 0.272442 // FIXME
52 #define BMI088_GYRO_SENS_125_NUM 19327
53 #define BMI088_GYRO_SENS_125_DEN 17735
54 #define BMI088_GYRO_SENS_250 0.544883
55 #define BMI088_GYRO_SENS_250_NUM 19327
56 #define BMI088_GYRO_SENS_250_DEN 35470
57 #define BMI088_GYRO_SENS_500 1.08977
58 #define BMI088_GYRO_SENS_500_NUM 57663
59 #define BMI088_GYRO_SENS_500_DEN 52913
60 #define BMI088_GYRO_SENS_1000 2.17953
61 #define BMI088_GYRO_SENS_1000_NUM 18271
62 #define BMI088_GYRO_SENS_1000_DEN 8383
63 #define BMI088_GYRO_SENS_2000 4.35906
64 #define BMI088_GYRO_SENS_2000_NUM 36542
65 #define BMI088_GYRO_SENS_2000_DEN 8383
78 #define BMI088_ACCEL_SENS_3G 0.919912
79 #define BMI088_ACCEL_SENS_3G_NUM 9199
80 #define BMI088_ACCEL_SENS_3G_DEN 10000
81 #define BMI088_ACCEL_SENS_6G 1.83982
82 #define BMI088_ACCEL_SENS_6G_NUM 18398
83 #define BMI088_ACCEL_SENS_6G_DEN 10000
84 #define BMI088_ACCEL_SENS_12G 3.67965
85 #define BMI088_ACCEL_SENS_12G_NUM 36797
86 #define BMI088_ACCEL_SENS_12G_DEN 10000
87 #define BMI088_ACCEL_SENS_24G 7.3593
88 #define BMI088_ACCEL_SENS_24G_NUM 7359
89 #define BMI088_ACCEL_SENS_24G_DEN 1000
108 #define BMI088_CONFIG_ACCEL 0
109 #define BMI088_CONFIG_GYRO 1
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
enum Bmi088AccelBW accel_bw
bandwidth
const float BMI088_GYRO_SENS[5]
Bmi088AccelRanges
Accel output range.
Bmi088GyroODR
Gyro output data rate and bandwidth.
void bmi088_set_default_config(struct Bmi088Config *c)
const int32_t BMI088_GYRO_SENS_FRAC[5][2]
const int32_t BMI088_ACCEL_SENS_FRAC[4][2]
const float BMI088_ACCEL_SENS[4]
enum Bmi088GyroRanges gyro_range
deg/s Range
enum Bmi088ConfStatus init_status
init status
@ BMI088_CONF_ACCEL_PWR_CTRL
enum Bmi088AccelODR accel_odr
output data rate
Bmi088GyroRanges
Gyro output range.
static const struct usb_config_descriptor config
bool initialized
config done flag
Bmi088AccelODR
Accel outpur data rate.
enum Bmi088GyroODR gyro_odr
output data rate
@ BMI088_CONF_ACCEL_RANGE
Bmi088AccelBW
Accel bandwith.
enum Bmi088AccelRanges accel_range
g Range
void bmi088_send_config(Bmi088ConfigSet bmi_set, void *bmi, struct Bmi088Config *config)
Configuration sequence called once before normal use.
@ BMI088_CONF_ACCEL_PWR_CONF
void(* Bmi088ConfigSet)(void *bmi, uint8_t _reg, uint8_t _val, uint8_t _type)
Configuration function prototype.