Loading...
Searching...
No Matches

Definitions for the bmx055 device. More...

Detailed Description

Definitions for the bmx055 device.

Author
Semjon Kerner semjo.nosp@m.n.ke.nosp@m.rner@.nosp@m.fu-b.nosp@m.erlin.nosp@m..de

Definition in file bmx055_internal.h.

Go to the source code of this file.

BMX055 magnetometer registers

#define REG_MAG_CHIPID   (0x40U)
 
#define REG_MAG_CHIPID_VAL   (0x32U)
 
#define REG_MAG_OPMODE   (0x4CU)
 
#define REG_MAG_PWRCTRL   (0x4BU)
 
#define REG_MAG_DATA   (0x42U)
 

BMX055 magnetometer bitfields and values

#define BIT_MAG_PWRCTRL_VAL   (0x01U)
 
#define BIT_MAG_DATARDY   (0x01U)
 

BMX055 accelerometer registers and values

#define REG_ACC_CHIPID   (0x00U)
 
#define REG_ACC_CHIPID_VAL   (0xFAU)
 
#define REG_ACC_SHDW   (0x13U)
 
#define REG_ACC_SHDW_ENABLE   (0x00U)
 
#define REG_ACC_DATA   (0x02U)
 

BMX055 accelerometer range register and values

#define REG_ACC_RANGE   (0x0FU)
 
#define BIT_ACC_RANGE_2G   (0x03U)
 
#define BIT_ACC_RANGE_4G   (0x05U)
 
#define BIT_ACC_RANGE_8G   (0x08U)
 
#define BIT_ACC_RANGE_16G   (0x0CU)
 

BMX055 gyroscope registers and values

#define REG_GYRO_CHIPID   (0x00U)
 
#define REG_GYRO_CHIPID_VAL   (0x0FU)
 
#define REG_GYRO_SCALE   (0x0FU)
 
#define REG_GYRO_SHDW   (0x13U)
 
#define REG_GYRO_SHDW_EN   (0x00U)
 
#define REG_GYRO_PWRMD   (0x11U)
 
#define REG_GYRO_PWRMD_NORM   (0x00U)
 
#define REG_GYRO_DATA   (0x02U)
 

Macro Definition Documentation

◆ BIT_ACC_RANGE_16G

#define BIT_ACC_RANGE_16G   (0x0CU)

Definition at line 64 of file bmx055_internal.h.

◆ BIT_ACC_RANGE_2G

#define BIT_ACC_RANGE_2G   (0x03U)

Definition at line 61 of file bmx055_internal.h.

◆ BIT_ACC_RANGE_4G

#define BIT_ACC_RANGE_4G   (0x05U)

Definition at line 62 of file bmx055_internal.h.

◆ BIT_ACC_RANGE_8G

#define BIT_ACC_RANGE_8G   (0x08U)

Definition at line 63 of file bmx055_internal.h.

◆ BIT_MAG_DATARDY

#define BIT_MAG_DATARDY   (0x01U)

Definition at line 42 of file bmx055_internal.h.

◆ BIT_MAG_PWRCTRL_VAL

#define BIT_MAG_PWRCTRL_VAL   (0x01U)

Definition at line 41 of file bmx055_internal.h.

◆ REG_ACC_CHIPID

#define REG_ACC_CHIPID   (0x00U)

Definition at line 49 of file bmx055_internal.h.

◆ REG_ACC_CHIPID_VAL

#define REG_ACC_CHIPID_VAL   (0xFAU)

Definition at line 50 of file bmx055_internal.h.

◆ REG_ACC_DATA

#define REG_ACC_DATA   (0x02U)

Definition at line 53 of file bmx055_internal.h.

◆ REG_ACC_RANGE

#define REG_ACC_RANGE   (0x0FU)

Definition at line 60 of file bmx055_internal.h.

◆ REG_ACC_SHDW

#define REG_ACC_SHDW   (0x13U)

Definition at line 51 of file bmx055_internal.h.

◆ REG_ACC_SHDW_ENABLE

#define REG_ACC_SHDW_ENABLE   (0x00U)

Definition at line 52 of file bmx055_internal.h.

◆ REG_GYRO_CHIPID

#define REG_GYRO_CHIPID   (0x00U)

Definition at line 71 of file bmx055_internal.h.

◆ REG_GYRO_CHIPID_VAL

#define REG_GYRO_CHIPID_VAL   (0x0FU)

Definition at line 72 of file bmx055_internal.h.

◆ REG_GYRO_DATA

#define REG_GYRO_DATA   (0x02U)

Definition at line 78 of file bmx055_internal.h.

◆ REG_GYRO_PWRMD

#define REG_GYRO_PWRMD   (0x11U)

Definition at line 76 of file bmx055_internal.h.

◆ REG_GYRO_PWRMD_NORM

#define REG_GYRO_PWRMD_NORM   (0x00U)

Definition at line 77 of file bmx055_internal.h.

◆ REG_GYRO_SCALE

#define REG_GYRO_SCALE   (0x0FU)

Definition at line 73 of file bmx055_internal.h.

◆ REG_GYRO_SHDW

#define REG_GYRO_SHDW   (0x13U)

Definition at line 74 of file bmx055_internal.h.

◆ REG_GYRO_SHDW_EN

#define REG_GYRO_SHDW_EN   (0x00U)

Definition at line 75 of file bmx055_internal.h.

◆ REG_MAG_CHIPID

#define REG_MAG_CHIPID   (0x40U)

Definition at line 30 of file bmx055_internal.h.

◆ REG_MAG_CHIPID_VAL

#define REG_MAG_CHIPID_VAL   (0x32U)

Definition at line 31 of file bmx055_internal.h.

◆ REG_MAG_DATA

#define REG_MAG_DATA   (0x42U)

Definition at line 34 of file bmx055_internal.h.

◆ REG_MAG_OPMODE

#define REG_MAG_OPMODE   (0x4CU)

Definition at line 32 of file bmx055_internal.h.

◆ REG_MAG_PWRCTRL

#define REG_MAG_PWRCTRL   (0x4BU)

Definition at line 33 of file bmx055_internal.h.