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
const int32_t BMI088_GYRO_SENS_FRAC[5][2]
enum Bmi088GyroRanges gyro_range
deg/s Range
Bmi088AccelODR
Accel outpur data rate.
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.
enum Bmi088AccelODR accel_odr
output data rate
Bmi088AccelBW
Accel bandwith.
void(* Bmi088ConfigSet)(void *bmi, uint8_t _reg, uint8_t _val, uint8_t _type)
Configuration function prototype.
Register and address definitions for BMI088.
const int32_t BMI088_ACCEL_SENS_FRAC[4][2]
void bmi088_set_default_config(struct Bmi088Config *c)
const float BMI088_ACCEL_SENS[4]
Bmi088GyroODR
Gyro output data rate and bandwidth.
static const struct usb_config_descriptor config
Bmi088AccelRanges
Accel output range.
enum Bmi088AccelBW accel_bw
bandwidth
bool initialized
config done flag
const float BMI088_GYRO_SENS[5]
enum Bmi088ConfStatus init_status
init status
enum Bmi088GyroODR gyro_odr
output data rate
Bmi088GyroRanges
Gyro output range.