Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
bmi088_regs.h File Reference

Register and address definitions for BMI088. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define BMI088_ACCEL_ADDR   (0x18<<1)
 
#define BMI088_ACCEL_ADDR_ALT   (0x19<<1)
 
#define BMI088_ACCEL_CHIP_ID   0x00
 
#define BMI088_ACCEL_ERR_REG   0x02
 
#define BMI088_ACCEL_STATUS   0x03
 
#define BMI088_ACCEL_X_LSB   0x12
 
#define BMI088_ACCEL_X_MSB   0x13
 
#define BMI088_ACCEL_Y_LSB   0x14
 
#define BMI088_ACCEL_Y_MSB   0x15
 
#define BMI088_ACCEL_Z_LSB   0x16
 
#define BMI088_ACCEL_Z_MSB   0x17
 
#define BMI088_ACCEL_SENSOR_TIME_0   0x18
 
#define BMI088_ACCEL_SENSOR_TIME_1   0x19
 
#define BMI088_ACCEL_SENSOR_TIME_2   0x1A
 
#define BMI088_ACCEL_INT_STAT_1   0x1D
 
#define BMI088_ACCEL_TEMP_MSB   0x22
 
#define BMI088_ACCEL_TEMP_LSB   0x23
 
#define BMI088_ACCEL_CONF   0x40
 
#define BMI088_ACCEL_RANGE   0x41
 
#define BMI088_ACCEL_INT1_IO_CTRL   0x53
 
#define BMI088_ACCEL_INT2_IO_CTRL   0x54
 
#define BMI088_ACCEL_INT_MAP_DATA   0x58
 
#define BMI088_ACCEL_SELF_TEST   0x6D
 
#define BMI088_ACCEL_PWR_CONF   0x7C
 
#define BMI088_ACCEL_PWR_CTRl   0x7D
 
#define BMI088_ACCEL_SOFT_RESET   0x7E
 
#define BMI088_GYRO_ADDR   (0x68<<1)
 
#define BMI088_GYRO_ADDR_ALT   (0x69<<1)
 
#define BMI088_GYRO_CHIP_ID   0x00
 
#define BMI088_GYRO_RATE_X_LSB   0x02
 
#define BMI088_GYRO_RATE_X_MSB   0x03
 
#define BMI088_GYRO_RATE_Y_LSB   0x04
 
#define BMI088_GYRO_RATE_Y_MSB   0x05
 
#define BMI088_GYRO_RATE_Z_LSB   0x06
 
#define BMI088_GYRO_RATE_Z_MSB   0x07
 
#define BMI088_GYRO_INT_STAT_1   0x0A
 
#define BMI088_GYRO_RANGE   0x0F
 
#define BMI088_GYRO_BAND_WIDTH   0x10
 
#define BMI088_GYRO_LPM_1   0x11
 
#define BMI088_GYRO_SOFT_RESET   0x14
 
#define BMI088_GYRO_INT_CTRL   0x15
 
#define BMI088_GYRO_INT3_INT4_IO_CONF   0x16
 
#define BMI088_GYRO_INT3_INT4_IO_MAP   0x18
 
#define BMI088_GYRO_SELF_TEST   0x3C
 

Enumerations

enum  Bmi088AccelRanges { BMI088_ACCEL_RANGE_3G = 0x00 , BMI088_ACCEL_RANGE_6G = 0x01 , BMI088_ACCEL_RANGE_12G = 0x02 , BMI088_ACCEL_RANGE_24G = 0x03 }
 Accel output range. More...
 
enum  Bmi088AccelODR {
  BMI088_ACCEL_ODR_12 = 0x05 , BMI088_ACCEL_ODR_25 = 0x06 , BMI088_ACCEL_ODR_50 = 0x07 , BMI088_ACCEL_ODR_100 = 0x08 ,
  BMI088_ACCEL_ODR_200 = 0x09 , BMI088_ACCEL_ODR_400 = 0x0A , BMI088_ACCEL_ODR_800 = 0x0B , BMI088_ACCEL_ODR_1600 = 0x0C
}
 Accel outpur data rate. More...
 
enum  Bmi088AccelBW { BMI088_ACCEL_BW_OSR4 = 0x08 , BMI088_ACCEL_BW_OSR2 = 0x09 , BMI088_ACCEL_BW_NORMAL = 0x0A }
 Accel bandwith. More...
 
enum  Bmi088AccelPowerType { BMI088_ACCEL_ACTIVE = 0x00 , BMI088_ACCEL_SUSPEND = 0x03 }
 Accel power type. More...
 
enum  Bmi088AccelPowerCtrl { BMI088_ACCEL_POWER_OFF = 0x00 , BMI088_ACCEL_POWER_ON = 0x04 }
 Accel power control. More...
 
enum  Bmi088GyroRanges {
  BMI088_GYRO_RANGE_2000 = 0x00 , BMI088_GYRO_RANGE_1000 = 0x01 , BMI088_GYRO_RANGE_500 = 0x02 , BMI088_GYRO_RANGE_250 = 0x03 ,
  BMI088_GYRO_RANGE_125 = 0x04
}
 Gyro output range. More...
 
enum  Bmi088GyroODR {
  BMI088_GYRO_ODR_2000_BW_532 = 0x00 , BMI088_GYRO_ODR_2000_BW_230 = 0x01 , BMI088_GYRO_ODR_1000_BW_116 = 0x02 , BMI088_GYRO_ODR_400_BW_47 = 0x03 ,
  BMI088_GYRO_ODR_200_BW_23 = 0x04 , BMI088_GYRO_ODR_100_BW_12 = 0x05 , BMI088_GYRO_ODR_200_BW_64 = 0x06 , BMI088_GYRO_ODR_100_BW_32 = 0x07
}
 Gyro output data rate and bandwidth. More...
 
enum  Bmi088GyroPowerType { BMI088_GYRO_NORMAL = 0x00 , BMI088_GYRO_SUSPEND = 0x80 , BMI088_GYRO_DEEP_SUSPEND = 0x20 }
 Gyro power type. More...
 

Detailed Description

Register and address definitions for BMI088.

Definition in file bmi088_regs.h.

Macro Definition Documentation

◆ BMI088_ACCEL_ADDR

#define BMI088_ACCEL_ADDR   (0x18<<1)

Definition at line 31 of file bmi088_regs.h.

◆ BMI088_ACCEL_ADDR_ALT

#define BMI088_ACCEL_ADDR_ALT   (0x19<<1)

Definition at line 32 of file bmi088_regs.h.

◆ BMI088_ACCEL_CHIP_ID

#define BMI088_ACCEL_CHIP_ID   0x00

Definition at line 34 of file bmi088_regs.h.

◆ BMI088_ACCEL_CONF

#define BMI088_ACCEL_CONF   0x40

Definition at line 54 of file bmi088_regs.h.

◆ BMI088_ACCEL_ERR_REG

#define BMI088_ACCEL_ERR_REG   0x02

Definition at line 35 of file bmi088_regs.h.

◆ BMI088_ACCEL_INT1_IO_CTRL

#define BMI088_ACCEL_INT1_IO_CTRL   0x53

Definition at line 57 of file bmi088_regs.h.

◆ BMI088_ACCEL_INT2_IO_CTRL

#define BMI088_ACCEL_INT2_IO_CTRL   0x54

Definition at line 58 of file bmi088_regs.h.

◆ BMI088_ACCEL_INT_MAP_DATA

#define BMI088_ACCEL_INT_MAP_DATA   0x58

Definition at line 59 of file bmi088_regs.h.

◆ BMI088_ACCEL_INT_STAT_1

#define BMI088_ACCEL_INT_STAT_1   0x1D

Definition at line 49 of file bmi088_regs.h.

◆ BMI088_ACCEL_PWR_CONF

#define BMI088_ACCEL_PWR_CONF   0x7C

Definition at line 63 of file bmi088_regs.h.

◆ BMI088_ACCEL_PWR_CTRl

#define BMI088_ACCEL_PWR_CTRl   0x7D

Definition at line 64 of file bmi088_regs.h.

◆ BMI088_ACCEL_RANGE

#define BMI088_ACCEL_RANGE   0x41

Definition at line 55 of file bmi088_regs.h.

◆ BMI088_ACCEL_SELF_TEST

#define BMI088_ACCEL_SELF_TEST   0x6D

Definition at line 61 of file bmi088_regs.h.

◆ BMI088_ACCEL_SENSOR_TIME_0

#define BMI088_ACCEL_SENSOR_TIME_0   0x18

Definition at line 45 of file bmi088_regs.h.

◆ BMI088_ACCEL_SENSOR_TIME_1

#define BMI088_ACCEL_SENSOR_TIME_1   0x19

Definition at line 46 of file bmi088_regs.h.

◆ BMI088_ACCEL_SENSOR_TIME_2

#define BMI088_ACCEL_SENSOR_TIME_2   0x1A

Definition at line 47 of file bmi088_regs.h.

◆ BMI088_ACCEL_SOFT_RESET

#define BMI088_ACCEL_SOFT_RESET   0x7E

Definition at line 66 of file bmi088_regs.h.

◆ BMI088_ACCEL_STATUS

#define BMI088_ACCEL_STATUS   0x03

Definition at line 36 of file bmi088_regs.h.

◆ BMI088_ACCEL_TEMP_LSB

#define BMI088_ACCEL_TEMP_LSB   0x23

Definition at line 52 of file bmi088_regs.h.

◆ BMI088_ACCEL_TEMP_MSB

#define BMI088_ACCEL_TEMP_MSB   0x22

Definition at line 51 of file bmi088_regs.h.

◆ BMI088_ACCEL_X_LSB

#define BMI088_ACCEL_X_LSB   0x12

Definition at line 38 of file bmi088_regs.h.

◆ BMI088_ACCEL_X_MSB

#define BMI088_ACCEL_X_MSB   0x13

Definition at line 39 of file bmi088_regs.h.

◆ BMI088_ACCEL_Y_LSB

#define BMI088_ACCEL_Y_LSB   0x14

Definition at line 40 of file bmi088_regs.h.

◆ BMI088_ACCEL_Y_MSB

#define BMI088_ACCEL_Y_MSB   0x15

Definition at line 41 of file bmi088_regs.h.

◆ BMI088_ACCEL_Z_LSB

#define BMI088_ACCEL_Z_LSB   0x16

Definition at line 42 of file bmi088_regs.h.

◆ BMI088_ACCEL_Z_MSB

#define BMI088_ACCEL_Z_MSB   0x17

Definition at line 43 of file bmi088_regs.h.

◆ BMI088_GYRO_ADDR

#define BMI088_GYRO_ADDR   (0x68<<1)

Definition at line 68 of file bmi088_regs.h.

◆ BMI088_GYRO_ADDR_ALT

#define BMI088_GYRO_ADDR_ALT   (0x69<<1)

Definition at line 69 of file bmi088_regs.h.

◆ BMI088_GYRO_BAND_WIDTH

#define BMI088_GYRO_BAND_WIDTH   0x10

Definition at line 83 of file bmi088_regs.h.

◆ BMI088_GYRO_CHIP_ID

#define BMI088_GYRO_CHIP_ID   0x00

Definition at line 71 of file bmi088_regs.h.

◆ BMI088_GYRO_INT3_INT4_IO_CONF

#define BMI088_GYRO_INT3_INT4_IO_CONF   0x16

Definition at line 90 of file bmi088_regs.h.

◆ BMI088_GYRO_INT3_INT4_IO_MAP

#define BMI088_GYRO_INT3_INT4_IO_MAP   0x18

Definition at line 91 of file bmi088_regs.h.

◆ BMI088_GYRO_INT_CTRL

#define BMI088_GYRO_INT_CTRL   0x15

Definition at line 89 of file bmi088_regs.h.

◆ BMI088_GYRO_INT_STAT_1

#define BMI088_GYRO_INT_STAT_1   0x0A

Definition at line 80 of file bmi088_regs.h.

◆ BMI088_GYRO_LPM_1

#define BMI088_GYRO_LPM_1   0x11

Definition at line 85 of file bmi088_regs.h.

◆ BMI088_GYRO_RANGE

#define BMI088_GYRO_RANGE   0x0F

Definition at line 82 of file bmi088_regs.h.

◆ BMI088_GYRO_RATE_X_LSB

#define BMI088_GYRO_RATE_X_LSB   0x02

Definition at line 73 of file bmi088_regs.h.

◆ BMI088_GYRO_RATE_X_MSB

#define BMI088_GYRO_RATE_X_MSB   0x03

Definition at line 74 of file bmi088_regs.h.

◆ BMI088_GYRO_RATE_Y_LSB

#define BMI088_GYRO_RATE_Y_LSB   0x04

Definition at line 75 of file bmi088_regs.h.

◆ BMI088_GYRO_RATE_Y_MSB

#define BMI088_GYRO_RATE_Y_MSB   0x05

Definition at line 76 of file bmi088_regs.h.

◆ BMI088_GYRO_RATE_Z_LSB

#define BMI088_GYRO_RATE_Z_LSB   0x06

Definition at line 77 of file bmi088_regs.h.

◆ BMI088_GYRO_RATE_Z_MSB

#define BMI088_GYRO_RATE_Z_MSB   0x07

Definition at line 78 of file bmi088_regs.h.

◆ BMI088_GYRO_SELF_TEST

#define BMI088_GYRO_SELF_TEST   0x3C

Definition at line 93 of file bmi088_regs.h.

◆ BMI088_GYRO_SOFT_RESET

#define BMI088_GYRO_SOFT_RESET   0x14

Definition at line 87 of file bmi088_regs.h.

Enumeration Type Documentation

◆ Bmi088AccelBW

Accel bandwith.

Enumerator
BMI088_ACCEL_BW_OSR4 
BMI088_ACCEL_BW_OSR2 
BMI088_ACCEL_BW_NORMAL 

Definition at line 121 of file bmi088_regs.h.

◆ Bmi088AccelODR

Accel outpur data rate.

Enumerator
BMI088_ACCEL_ODR_12 
BMI088_ACCEL_ODR_25 
BMI088_ACCEL_ODR_50 
BMI088_ACCEL_ODR_100 
BMI088_ACCEL_ODR_200 
BMI088_ACCEL_ODR_400 
BMI088_ACCEL_ODR_800 
BMI088_ACCEL_ODR_1600 

Definition at line 107 of file bmi088_regs.h.

◆ Bmi088AccelPowerCtrl

Accel power control.

Enumerator
BMI088_ACCEL_POWER_OFF 
BMI088_ACCEL_POWER_ON 

Definition at line 138 of file bmi088_regs.h.

◆ Bmi088AccelPowerType

Accel power type.

Enumerator
BMI088_ACCEL_ACTIVE 
BMI088_ACCEL_SUSPEND 

Definition at line 130 of file bmi088_regs.h.

◆ Bmi088AccelRanges

Accel output range.

Enumerator
BMI088_ACCEL_RANGE_3G 
BMI088_ACCEL_RANGE_6G 
BMI088_ACCEL_RANGE_12G 
BMI088_ACCEL_RANGE_24G 

Definition at line 97 of file bmi088_regs.h.

◆ Bmi088GyroODR

Gyro output data rate and bandwidth.

Enumerator
BMI088_GYRO_ODR_2000_BW_532 
BMI088_GYRO_ODR_2000_BW_230 
BMI088_GYRO_ODR_1000_BW_116 
BMI088_GYRO_ODR_400_BW_47 
BMI088_GYRO_ODR_200_BW_23 
BMI088_GYRO_ODR_100_BW_12 
BMI088_GYRO_ODR_200_BW_64 
BMI088_GYRO_ODR_100_BW_32 

Definition at line 157 of file bmi088_regs.h.

◆ Bmi088GyroPowerType

Gyro power type.

Enumerator
BMI088_GYRO_NORMAL 
BMI088_GYRO_SUSPEND 
BMI088_GYRO_DEEP_SUSPEND 

Definition at line 171 of file bmi088_regs.h.

◆ Bmi088GyroRanges

Gyro output range.

Enumerator
BMI088_GYRO_RANGE_2000 
BMI088_GYRO_RANGE_1000 
BMI088_GYRO_RANGE_500 
BMI088_GYRO_RANGE_250 
BMI088_GYRO_RANGE_125 

Definition at line 146 of file bmi088_regs.h.