Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
imu_bmi088_i2c.c File Reference
#include "subsystems/imu.h"
#include "mcu_periph/i2c.h"
#include "mcu_periph/sys_time.h"
#include "subsystems/abi.h"
+ Include dependency graph for imu_bmi088_i2c.c:

Go to the source code of this file.

Macros

#define IMU_BMI088_GYRO_ODR   BMI088_GYRO_ODR_1000_BW_116
 
#define IMU_BMI088_ACCEL_ODR   BMI088_ACCEL_ODR_1600
 
#define IMU_BMI088_ACCEL_BW   BMI088_ACCEL_BW_OSR4
 
#define IMU_BMI088_GYRO_I2C_ADDR   BMI088_GYRO_ADDR
 
#define IMU_BMI088_ACCEL_I2C_ADDR   BMI088_ACCEL_ADDR
 
#define IMU_BMI088_CHAN_X   0
 
#define IMU_BMI088_CHAN_Y   1
 
#define IMU_BMI088_CHAN_Z   2
 
#define IMU_BMI088_X_SIGN   1
 
#define IMU_BMI088_Y_SIGN   1
 
#define IMU_BMI088_Z_SIGN   1
 

Functions

void imu_bmi088_init (void)
 
void imu_bmi088_periodic (void)
 
void imu_bmi088_event (void)
 

Variables

struct ImuBmi088 imu_bmi088
 

Macro Definition Documentation

◆ IMU_BMI088_ACCEL_BW

#define IMU_BMI088_ACCEL_BW   BMI088_ACCEL_BW_OSR4

Definition at line 47 of file imu_bmi088_i2c.c.

◆ IMU_BMI088_ACCEL_I2C_ADDR

#define IMU_BMI088_ACCEL_I2C_ADDR   BMI088_ACCEL_ADDR

Definition at line 57 of file imu_bmi088_i2c.c.

◆ IMU_BMI088_ACCEL_ODR

#define IMU_BMI088_ACCEL_ODR   BMI088_ACCEL_ODR_1600

Definition at line 42 of file imu_bmi088_i2c.c.

◆ IMU_BMI088_CHAN_X

#define IMU_BMI088_CHAN_X   0

Definition at line 63 of file imu_bmi088_i2c.c.

◆ IMU_BMI088_CHAN_Y

#define IMU_BMI088_CHAN_Y   1

Definition at line 67 of file imu_bmi088_i2c.c.

◆ IMU_BMI088_CHAN_Z

#define IMU_BMI088_CHAN_Z   2

Definition at line 71 of file imu_bmi088_i2c.c.

◆ IMU_BMI088_GYRO_I2C_ADDR

#define IMU_BMI088_GYRO_I2C_ADDR   BMI088_GYRO_ADDR

Definition at line 52 of file imu_bmi088_i2c.c.

◆ IMU_BMI088_GYRO_ODR

#define IMU_BMI088_GYRO_ODR   BMI088_GYRO_ODR_1000_BW_116

Definition at line 37 of file imu_bmi088_i2c.c.

◆ IMU_BMI088_X_SIGN

#define IMU_BMI088_X_SIGN   1

Definition at line 76 of file imu_bmi088_i2c.c.

◆ IMU_BMI088_Y_SIGN

#define IMU_BMI088_Y_SIGN   1

Definition at line 80 of file imu_bmi088_i2c.c.

◆ IMU_BMI088_Z_SIGN

#define IMU_BMI088_Z_SIGN   1

Definition at line 84 of file imu_bmi088_i2c.c.

Function Documentation

◆ imu_bmi088_event()

◆ imu_bmi088_init()

◆ imu_bmi088_periodic()

void imu_bmi088_periodic ( void  )

Definition at line 103 of file imu_bmi088_i2c.c.

References ImuBmi088::bmi, bmi088_i2c_periodic(), and imu_bmi088.

+ Here is the call graph for this function:

Variable Documentation

◆ imu_bmi088

struct ImuBmi088 imu_bmi088

Definition at line 89 of file imu_bmi088_i2c.c.

Referenced by imu_bmi088_event(), imu_bmi088_init(), and imu_bmi088_periodic().