Paparazzi UAS  v6.3_unstable
Paparazzi is a free software Unmanned Aircraft System.
bmi088.c File Reference

BMI088 driver common functions (I2C and SPI). More...

+ Include dependency graph for bmi088.c:

Go to the source code of this file.


void bmi088_set_default_config (struct Bmi088Config *c)
void bmi088_send_config (Bmi088ConfigSet bmi_set, void *bmi, struct Bmi088Config *config)
 Configuration sequence called once before normal use. More...


const float BMI088_GYRO_SENS [5]
const struct Int32Rates BMI088_GYRO_SENS_FRAC [5][2]
const float BMI088_ACCEL_SENS [4]
const struct Int32Vect3 BMI088_ACCEL_SENS_FRAC [4][2]

Detailed Description

BMI088 driver common functions (I2C and SPI).

Still needs the either I2C or SPI specific implementation.

Definition in file bmi088.c.

Function Documentation

◆ bmi088_send_config()

◆ bmi088_set_default_config()

Variable Documentation


const float BMI088_ACCEL_SENS[4]
Initial value:
= {
#define BMI088_ACCEL_SENS_6G
Definition: bmi088.h:82
#define BMI088_ACCEL_SENS_12G
Definition: bmi088.h:85
#define BMI088_ACCEL_SENS_24G
Definition: bmi088.h:88
#define BMI088_ACCEL_SENS_3G
default accel sensitivy from the datasheet sens = 9.81 [m/s^2] / [LSB/g] * 2^INT32_ACCEL_FRAC ex: BMI...
Definition: bmi088.h:79

Definition at line 52 of file bmi088.c.



const float BMI088_GYRO_SENS[5]
Initial value:
= {
#define BMI088_GYRO_SENS_500
Definition: bmi088.h:58
#define BMI088_GYRO_SENS_2000
Definition: bmi088.h:64
#define BMI088_GYRO_SENS_1000
Definition: bmi088.h:61
#define BMI088_GYRO_SENS_250
Definition: bmi088.h:55
#define BMI088_GYRO_SENS_125
default gyro sensitivy from the datasheet sens = 1/ [LSB/(deg/s)] * pi/180 * 2^INT32_RATE_FRAC ex: BM...
Definition: bmi088.h:52

Definition at line 31 of file bmi088.c.


const struct Int32Rates BMI088_GYRO_SENS_FRAC[5][2]
Initial value:
= {
#define BMI088_GYRO_SENS_1000_NUM
Definition: bmi088.h:62
#define BMI088_GYRO_SENS_500_DEN
Definition: bmi088.h:60
#define BMI088_GYRO_SENS_2000_NUM
Definition: bmi088.h:65
#define BMI088_GYRO_SENS_250_DEN
Definition: bmi088.h:57
#define BMI088_GYRO_SENS_250_NUM
Definition: bmi088.h:56
#define BMI088_GYRO_SENS_125_NUM
Definition: bmi088.h:53
#define BMI088_GYRO_SENS_500_NUM
Definition: bmi088.h:59
#define BMI088_GYRO_SENS_125_DEN
Definition: bmi088.h:54
#define BMI088_GYRO_SENS_1000_DEN
Definition: bmi088.h:63
#define BMI088_GYRO_SENS_2000_DEN
Definition: bmi088.h:66

Definition at line 31 of file bmi088.c.

Referenced by imu_bmi088_init().