Dezibot 4
Loading...
Searching...
No Matches
IMU_CMDs.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CMD_READ   0x80
 
#define CMD_WRITE   0x00
 
#define ADDR_MASK   0x7F
 
#define MCLK_RDY   0x00
 
#define REG_TEMP_LOW   0x0A
 
#define REG_TEMP_HIGH   0X09
 
#define ACCEL_DATA_X_HIGH   0x0B
 
#define ACCEL_DATA_X_LOW   0x0C
 
#define ACCEL_DATA_Y_HIGH   0x0D
 
#define ACCEL_DATA_Y_LOW   0x0E
 
#define ACCEL_DATA_Z_HIGH   0x0F
 
#define ACCEL_DATA_Z_LOW   0x10
 
#define GYRO_DATA_X_HIGH   0x11
 
#define GYRO_DATA_X_LOW   0x12
 
#define GYRO_DATA_Y_HIGH   0x13
 
#define GYRO_DATA_Y_LOW   0x14
 
#define GYRO_DATA_Z_HIGH   0x15
 
#define GYRO_DATA_Z_LOW   0x16
 
#define PWR_MGMT0   0x1F
 
#define WHO_AM_I   0x75
 
#define INTF_CONFIG0   0x35
 
#define BLK_SEL_W   0x79
 
#define BLK_SEL_R   0x7C
 
#define MADDR_W   0x7A
 
#define MADDR_R   0x7D
 
#define M_W   0x7B
 
#define M_R   0x7E
 
#define FIFO_COUNTH   0x3D
 
#define FIFO_COUNTL   0x3E
 
#define FIFO_DATA   0x3F
 
#define FIFO_CONFIG1   0x28
 
#define FIFO_CONFIG2   0x29
 
#define FIFO_CONFIG5   0x01
 
#define TMST_CONFIG1   0x00
 

Macro Definition Documentation

◆ ACCEL_DATA_X_HIGH

#define ACCEL_DATA_X_HIGH   0x0B

Definition at line 14 of file IMU_CMDs.h.

◆ ACCEL_DATA_X_LOW

#define ACCEL_DATA_X_LOW   0x0C

Definition at line 15 of file IMU_CMDs.h.

◆ ACCEL_DATA_Y_HIGH

#define ACCEL_DATA_Y_HIGH   0x0D

Definition at line 16 of file IMU_CMDs.h.

◆ ACCEL_DATA_Y_LOW

#define ACCEL_DATA_Y_LOW   0x0E

Definition at line 17 of file IMU_CMDs.h.

◆ ACCEL_DATA_Z_HIGH

#define ACCEL_DATA_Z_HIGH   0x0F

Definition at line 18 of file IMU_CMDs.h.

◆ ACCEL_DATA_Z_LOW

#define ACCEL_DATA_Z_LOW   0x10

Definition at line 19 of file IMU_CMDs.h.

◆ ADDR_MASK

#define ADDR_MASK   0x7F

Definition at line 6 of file IMU_CMDs.h.

◆ BLK_SEL_R

#define BLK_SEL_R   0x7C

Definition at line 34 of file IMU_CMDs.h.

◆ BLK_SEL_W

#define BLK_SEL_W   0x79

Definition at line 33 of file IMU_CMDs.h.

◆ CMD_READ

#define CMD_READ   0x80

Definition at line 4 of file IMU_CMDs.h.

◆ CMD_WRITE

#define CMD_WRITE   0x00

Definition at line 5 of file IMU_CMDs.h.

◆ FIFO_CONFIG1

#define FIFO_CONFIG1   0x28

Definition at line 43 of file IMU_CMDs.h.

◆ FIFO_CONFIG2

#define FIFO_CONFIG2   0x29

Definition at line 44 of file IMU_CMDs.h.

◆ FIFO_CONFIG5

#define FIFO_CONFIG5   0x01

Definition at line 47 of file IMU_CMDs.h.

◆ FIFO_COUNTH

#define FIFO_COUNTH   0x3D

Definition at line 40 of file IMU_CMDs.h.

◆ FIFO_COUNTL

#define FIFO_COUNTL   0x3E

Definition at line 41 of file IMU_CMDs.h.

◆ FIFO_DATA

#define FIFO_DATA   0x3F

Definition at line 42 of file IMU_CMDs.h.

◆ GYRO_DATA_X_HIGH

#define GYRO_DATA_X_HIGH   0x11

Definition at line 21 of file IMU_CMDs.h.

◆ GYRO_DATA_X_LOW

#define GYRO_DATA_X_LOW   0x12

Definition at line 22 of file IMU_CMDs.h.

◆ GYRO_DATA_Y_HIGH

#define GYRO_DATA_Y_HIGH   0x13

Definition at line 23 of file IMU_CMDs.h.

◆ GYRO_DATA_Y_LOW

#define GYRO_DATA_Y_LOW   0x14

Definition at line 24 of file IMU_CMDs.h.

◆ GYRO_DATA_Z_HIGH

#define GYRO_DATA_Z_HIGH   0x15

Definition at line 25 of file IMU_CMDs.h.

◆ GYRO_DATA_Z_LOW

#define GYRO_DATA_Z_LOW   0x16

Definition at line 26 of file IMU_CMDs.h.

◆ INTF_CONFIG0

#define INTF_CONFIG0   0x35

Definition at line 31 of file IMU_CMDs.h.

◆ M_R

#define M_R   0x7E

Definition at line 38 of file IMU_CMDs.h.

◆ M_W

#define M_W   0x7B

Definition at line 37 of file IMU_CMDs.h.

◆ MADDR_R

#define MADDR_R   0x7D

Definition at line 36 of file IMU_CMDs.h.

◆ MADDR_W

#define MADDR_W   0x7A

Definition at line 35 of file IMU_CMDs.h.

◆ MCLK_RDY

#define MCLK_RDY   0x00

Definition at line 9 of file IMU_CMDs.h.

◆ PWR_MGMT0

#define PWR_MGMT0   0x1F

Definition at line 28 of file IMU_CMDs.h.

◆ REG_TEMP_HIGH

#define REG_TEMP_HIGH   0X09

Definition at line 12 of file IMU_CMDs.h.

◆ REG_TEMP_LOW

#define REG_TEMP_LOW   0x0A

Definition at line 11 of file IMU_CMDs.h.

◆ TMST_CONFIG1

#define TMST_CONFIG1   0x00

Definition at line 48 of file IMU_CMDs.h.

◆ WHO_AM_I

#define WHO_AM_I   0x75

Definition at line 29 of file IMU_CMDs.h.