Paparazzi UAS  v4.2.2_stable-4-gcc32f65
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
mpu60X0.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MPU60X0_ADDR   0xD0
 
#define MPU60X0_ADDR_ALT   0xD2
 
#define MPU60X0_SPI_READ   0x80
 
#define MPU60X0_REG_AUX_VDDIO   0x01
 
#define MPU60X0_REG_USER_CTRL   0x6A
 
#define MPU60X0_REG_PWR_MGMT_1   0x6B
 
#define MPU60X0_REG_PWR_MGMT_2   0x6C
 
#define MPU60X0_REG_FIFO_EN   0X23
 
#define MPU60X0_REG_FIFO_COUNT_H   0x72
 
#define MPU60X0_REG_FIFO_COUNT_L   0x73
 
#define MPU60X0_REG_FIFO_R_W   0x74
 
#define MPU60X0_REG_SMPLRT_DIV   0X19
 
#define MPU60X0_REG_CONFIG   0X1A
 
#define MPU60X0_REG_GYRO_CONFIG   0X1B
 
#define MPU60X0_REG_ACCEL_CONFIG   0X1C
 
#define MPU60X0_REG_I2C_MST_CTRL   0X24
 
#define MPU60X0_REG_I2C_MST_STATUS   0X36
 
#define MPU60X0_REG_I2C_MST_DELAY   0X67
 
#define MPU60X0_REG_I2C_SLV0_ADDR   0X25
 
#define MPU60X0_REG_I2C_SLV0_REG   0X26
 
#define MPU60X0_REG_I2C_SLV0_CTRL   0X27
 
#define MPU60X0_REG_I2C_SLV0_DO   0X63
 
#define MPU60X0_REG_I2C_SLV1_ADDR   0X28
 
#define MPU60X0_REG_I2C_SLV1_REG   0X29
 
#define MPU60X0_REG_I2C_SLV1_CTRL   0X2A
 
#define MPU60X0_REG_I2C_SLV1_DO   0X64
 
#define MPU60X0_REG_I2C_SLV2_ADDR   0X2B
 
#define MPU60X0_REG_I2C_SLV2_REG   0X2C
 
#define MPU60X0_REG_I2C_SLV2_CTRL   0X2D
 
#define MPU60X0_REG_I2C_SLV2_DO   0X65
 
#define MPU60X0_REG_I2C_SLV3_ADDR   0X2E
 
#define MPU60X0_REG_I2C_SLV3_REG   0X2F
 
#define MPU60X0_REG_I2C_SLV3_CTRL   0X30
 
#define MPU60X0_REG_I2C_SLV3_DO   0X66
 
#define MPU60X0_REG_I2C_SLV4_ADDR   0X31
 
#define MPU60X0_REG_I2C_SLV4_REG   0X32
 
#define MPU60X0_REG_I2C_SLV4_DO   0X33
 
#define MPU60X0_REG_I2C_SLV4_CTRL   0X34
 
#define MPU60X0_REG_I2C_SLV4_DI   0X35
 
#define MPU60X0_REG_INT_PIN_CFG   0X37
 
#define MPU60X0_REG_INT_ENABLE   0X38
 
#define MPU60X0_REG_INT_STATUS   0X3A
 
#define MPU60X0_REG_ACCEL_XOUT_H   0X3B
 
#define MPU60X0_REG_ACCEL_XOUT_L   0X3C
 
#define MPU60X0_REG_ACCEL_YOUT_H   0X3D
 
#define MPU60X0_REG_ACCEL_YOUT_L   0X3E
 
#define MPU60X0_REG_ACCEL_ZOUT_H   0X3F
 
#define MPU60X0_REG_ACCEL_ZOUT_L   0X40
 
#define MPU60X0_REG_TEMP_OUT_H   0X41
 
#define MPU60X0_REG_TEMP_OUT_L   0X42
 
#define MPU60X0_REG_GYRO_XOUT_H   0X43
 
#define MPU60X0_REG_GYRO_XOUT_L   0X44
 
#define MPU60X0_REG_GYRO_YOUT_H   0X45
 
#define MPU60X0_REG_GYRO_YOUT_L   0X46
 
#define MPU60X0_REG_GYRO_ZOUT_H   0X47
 
#define MPU60X0_REG_GYRO_ZOUT_L   0X48
 
#define MPU60X0_EXT_SENS_DATA   0X49
 
#define MPU60X0_EXT_SENS_DATA_SIZE   24
 
#define MPU60X0_REG_WHO_AM_I   0X75
 
#define MPU60X0_WHOAMI_REPLY   0x68
 

Macro Definition Documentation

#define MPU60X0_ADDR   0xD0

Definition at line 5 of file mpu60X0.h.

Referenced by imu_impl_init().

#define MPU60X0_ADDR_ALT   0xD2

Definition at line 6 of file mpu60X0.h.

#define MPU60X0_EXT_SENS_DATA   0X49

Definition at line 85 of file mpu60X0.h.

#define MPU60X0_EXT_SENS_DATA_SIZE   24

Definition at line 86 of file mpu60X0.h.

#define MPU60X0_REG_ACCEL_CONFIG   0X1C

Definition at line 26 of file mpu60X0.h.

Referenced by imu_impl_init(), and mpu_configure().

#define MPU60X0_REG_ACCEL_XOUT_H   0X3B

Definition at line 65 of file mpu60X0.h.

#define MPU60X0_REG_ACCEL_XOUT_L   0X3C

Definition at line 66 of file mpu60X0.h.

#define MPU60X0_REG_ACCEL_YOUT_H   0X3D

Definition at line 67 of file mpu60X0.h.

#define MPU60X0_REG_ACCEL_YOUT_L   0X3E

Definition at line 68 of file mpu60X0.h.

#define MPU60X0_REG_ACCEL_ZOUT_H   0X3F

Definition at line 69 of file mpu60X0.h.

#define MPU60X0_REG_ACCEL_ZOUT_L   0X40

Definition at line 70 of file mpu60X0.h.

#define MPU60X0_REG_AUX_VDDIO   0x01

Definition at line 11 of file mpu60X0.h.

#define MPU60X0_REG_CONFIG   0X1A

Definition at line 24 of file mpu60X0.h.

Referenced by imu_impl_init(), and mpu_configure().

#define MPU60X0_REG_FIFO_COUNT_H   0x72

Definition at line 18 of file mpu60X0.h.

#define MPU60X0_REG_FIFO_COUNT_L   0x73

Definition at line 19 of file mpu60X0.h.

#define MPU60X0_REG_FIFO_EN   0X23

Definition at line 17 of file mpu60X0.h.

#define MPU60X0_REG_FIFO_R_W   0x74

Definition at line 20 of file mpu60X0.h.

#define MPU60X0_REG_GYRO_CONFIG   0X1B

Definition at line 25 of file mpu60X0.h.

Referenced by imu_impl_init(), and mpu_configure().

#define MPU60X0_REG_GYRO_XOUT_H   0X43

Definition at line 77 of file mpu60X0.h.

#define MPU60X0_REG_GYRO_XOUT_L   0X44

Definition at line 78 of file mpu60X0.h.

#define MPU60X0_REG_GYRO_YOUT_H   0X45

Definition at line 79 of file mpu60X0.h.

#define MPU60X0_REG_GYRO_YOUT_L   0X46

Definition at line 80 of file mpu60X0.h.

#define MPU60X0_REG_GYRO_ZOUT_H   0X47

Definition at line 81 of file mpu60X0.h.

#define MPU60X0_REG_GYRO_ZOUT_L   0X48

Definition at line 82 of file mpu60X0.h.

#define MPU60X0_REG_I2C_MST_CTRL   0X24

Definition at line 29 of file mpu60X0.h.

Referenced by mpu_configure().

#define MPU60X0_REG_I2C_MST_DELAY   0X67

Definition at line 31 of file mpu60X0.h.

#define MPU60X0_REG_I2C_MST_STATUS   0X36

Definition at line 30 of file mpu60X0.h.

#define MPU60X0_REG_I2C_SLV0_ADDR   0X25

Definition at line 33 of file mpu60X0.h.

Referenced by mpu_configure().

#define MPU60X0_REG_I2C_SLV0_CTRL   0X27

Definition at line 35 of file mpu60X0.h.

Referenced by mpu_configure().

#define MPU60X0_REG_I2C_SLV0_DO   0X63

Definition at line 36 of file mpu60X0.h.

#define MPU60X0_REG_I2C_SLV0_REG   0X26

Definition at line 34 of file mpu60X0.h.

Referenced by mpu_configure().

#define MPU60X0_REG_I2C_SLV1_ADDR   0X28

Definition at line 38 of file mpu60X0.h.

#define MPU60X0_REG_I2C_SLV1_CTRL   0X2A

Definition at line 40 of file mpu60X0.h.

#define MPU60X0_REG_I2C_SLV1_DO   0X64

Definition at line 41 of file mpu60X0.h.

#define MPU60X0_REG_I2C_SLV1_REG   0X29

Definition at line 39 of file mpu60X0.h.

#define MPU60X0_REG_I2C_SLV2_ADDR   0X2B

Definition at line 43 of file mpu60X0.h.

#define MPU60X0_REG_I2C_SLV2_CTRL   0X2D

Definition at line 45 of file mpu60X0.h.

#define MPU60X0_REG_I2C_SLV2_DO   0X65

Definition at line 46 of file mpu60X0.h.

#define MPU60X0_REG_I2C_SLV2_REG   0X2C

Definition at line 44 of file mpu60X0.h.

#define MPU60X0_REG_I2C_SLV3_ADDR   0X2E

Definition at line 48 of file mpu60X0.h.

#define MPU60X0_REG_I2C_SLV3_CTRL   0X30

Definition at line 50 of file mpu60X0.h.

#define MPU60X0_REG_I2C_SLV3_DO   0X66

Definition at line 51 of file mpu60X0.h.

#define MPU60X0_REG_I2C_SLV3_REG   0X2F

Definition at line 49 of file mpu60X0.h.

#define MPU60X0_REG_I2C_SLV4_ADDR   0X31

Definition at line 53 of file mpu60X0.h.

Referenced by mpu_configure().

#define MPU60X0_REG_I2C_SLV4_CTRL   0X34

Definition at line 56 of file mpu60X0.h.

Referenced by mpu_configure(), and mpu_wait_slave4_ready().

#define MPU60X0_REG_I2C_SLV4_DI   0X35

Definition at line 57 of file mpu60X0.h.

#define MPU60X0_REG_I2C_SLV4_DO   0X33

Definition at line 55 of file mpu60X0.h.

Referenced by mpu_configure().

#define MPU60X0_REG_I2C_SLV4_REG   0X32

Definition at line 54 of file mpu60X0.h.

Referenced by mpu_configure().

#define MPU60X0_REG_INT_ENABLE   0X38

Definition at line 61 of file mpu60X0.h.

#define MPU60X0_REG_INT_PIN_CFG   0X37

Definition at line 60 of file mpu60X0.h.

#define MPU60X0_REG_INT_STATUS   0X3A

Definition at line 62 of file mpu60X0.h.

Referenced by imu_periodic().

#define MPU60X0_REG_PWR_MGMT_1   0x6B

Definition at line 13 of file mpu60X0.h.

Referenced by imu_impl_init(), and mpu_configure().

#define MPU60X0_REG_PWR_MGMT_2   0x6C

Definition at line 14 of file mpu60X0.h.

#define MPU60X0_REG_SMPLRT_DIV   0X19

Definition at line 23 of file mpu60X0.h.

Referenced by imu_impl_init(), and mpu_configure().

#define MPU60X0_REG_TEMP_OUT_H   0X41

Definition at line 73 of file mpu60X0.h.

#define MPU60X0_REG_TEMP_OUT_L   0X42

Definition at line 74 of file mpu60X0.h.

#define MPU60X0_REG_USER_CTRL   0x6A

Definition at line 12 of file mpu60X0.h.

Referenced by mpu_configure().

#define MPU60X0_REG_WHO_AM_I   0X75

Definition at line 92 of file mpu60X0.h.

#define MPU60X0_SPI_READ   0x80

Definition at line 8 of file mpu60X0.h.

Referenced by imu_periodic(), mpu_configure(), and mpu_wait_slave4_ready().

#define MPU60X0_WHOAMI_REPLY   0x68

Definition at line 93 of file mpu60X0.h.