Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
IMU driver for the BMI088 using I2C. More...
#include "std.h"
#include "generated/airframe.h"
#include "modules/imu/imu.h"
#include "peripherals/bmi088_i2c.h"
Go to the source code of this file.
Data Structures | |
struct | ImuBmi088 |
Macros | |
#define | IMU_BMI088_GYRO_RANGE BMI088_GYRO_RANGE_1000 |
#define | IMU_BMI088_ACCEL_RANGE BMI088_ACCEL_RANGE_6G |
Functions | |
void | imu_bmi088_init (void) |
void | imu_bmi088_periodic (void) |
void | imu_bmi088_event (void) |
Variables | |
struct ImuBmi088 | imu_bmi088 |
IMU driver for the BMI088 using I2C.
Definition in file imu_bmi088_i2c.h.
struct ImuBmi088 |
Definition at line 46 of file imu_bmi088_i2c.h.
Data Fields | ||
---|---|---|
struct Bmi088_I2c | bmi |
#define IMU_BMI088_ACCEL_RANGE BMI088_ACCEL_RANGE_6G |
Definition at line 43 of file imu_bmi088_i2c.h.
#define IMU_BMI088_GYRO_RANGE BMI088_GYRO_RANGE_1000 |
Definition at line 39 of file imu_bmi088_i2c.h.
void imu_bmi088_event | ( | void | ) |
Definition at line 113 of file imu_bmi088_i2c.c.
References Bmi088_I2c::accel_available, Bmi088Config::accel_samplerate, ImuBmi088::bmi, bmi088_i2c_event(), Bmi088_I2c::config, Bmi088_I2c::data_accel, Bmi088_I2c::data_rates, get_sys_time_usec(), Bmi088_I2c::gyro_available, Bmi088Config::gyro_samplerate, imu_bmi088, IMU_BMI088_CHAN_X, IMU_BMI088_CHAN_Y, IMU_BMI088_CHAN_Z, IMU_BMI088_ID, IMU_BMI088_X_SIGN, IMU_BMI088_Y_SIGN, and IMU_BMI088_Z_SIGN.
void imu_bmi088_init | ( | void | ) |
Definition at line 92 of file imu_bmi088_i2c.c.
References Bmi088Config::accel_bw, Bmi088Config::accel_odr, Bmi088Config::accel_range, ImuBmi088::bmi, BMI088_ACCEL_SENS_FRAC, BMI088_GYRO_SENS_FRAC, bmi088_i2c_init(), Bmi088_I2c::config, Bmi088Config::gyro_odr, Bmi088Config::gyro_range, imu_bmi088, IMU_BMI088_ACCEL_BW, IMU_BMI088_ACCEL_I2C_ADDR, IMU_BMI088_ACCEL_ODR, IMU_BMI088_ACCEL_RANGE, IMU_BMI088_GYRO_I2C_ADDR, IMU_BMI088_GYRO_ODR, IMU_BMI088_GYRO_RANGE, IMU_BMI088_ID, imu_set_defaults_accel(), and imu_set_defaults_gyro().
void imu_bmi088_periodic | ( | void | ) |
Definition at line 108 of file imu_bmi088_i2c.c.
References ImuBmi088::bmi, bmi088_i2c_periodic(), and imu_bmi088.
|
extern |
Definition at line 1 of file imu_bmi088_i2c.c.
Referenced by imu_bmi088_event(), imu_bmi088_init(), and imu_bmi088_periodic().