Paparazzi UAS  v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ak8963_regs.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define AK8963_ADDR   0x1A
 
#define AK8963_CNTL1_POWER_DOWN   0x10
 
#define AK8963_CNTL1_SNG_MEASURE   0x11
 
#define AK8963_CNTL1_CM_1   0x12
 
#define AK8963_CNTL1_CM_2   0x16
 
#define AK8963_CNTL1_EXT_TRIG   0x14
 
#define AK8963_CNTL1_SELF_TEST   0x18
 
#define AK8963_CNTL1_FUSE_ACCESS   0x1F
 
#define AK8963_REG_WIA   0x00
 
#define AK8963_REG_INFO   0x01
 
#define AK8963_REG_ST1   0x02
 
#define AK8963_REG_HXL   0x03
 
#define AK8963_REG_HXH   0x04
 
#define AK8963_REG_HYL   0x05
 
#define AK8963_REG_HYH   0x06
 
#define AK8963_REG_HZL   0x07
 
#define AK8963_REG_HZH   0x08
 
#define AK8963_REG_ST2   0x09
 
#define AK8963_REG_CNTL1   0x0A
 
#define AK8963_REG_CNTL2   0x0B
 
#define AK8963_REG_ASTC   0x0C
 
#define AK8963_REG_TS1   0x0D
 
#define AK8963_REG_TS2   0x0E
 
#define AK8963_REG_I2CDIS   0x0F
 
#define AK8963_FUSE_ASAX   0x10
 
#define AK8963_FUSE_ASAY   0x11
 
#define AK8963_FUSE_ASAZ   0x12
 

Macro Definition Documentation

#define AK8963_ADDR   0x1A

Definition at line 31 of file ak8963_regs.h.

Referenced by imu_bebop_init().

#define AK8963_CNTL1_CM_1   0x12

Definition at line 36 of file ak8963_regs.h.

#define AK8963_CNTL1_CM_2   0x16

Definition at line 37 of file ak8963_regs.h.

Referenced by ak8963_configure(), and imu_mpu9250_configure_mag_slave().

#define AK8963_CNTL1_EXT_TRIG   0x14

Definition at line 38 of file ak8963_regs.h.

#define AK8963_CNTL1_FUSE_ACCESS   0x1F

Definition at line 40 of file ak8963_regs.h.

#define AK8963_CNTL1_POWER_DOWN   0x10

Definition at line 34 of file ak8963_regs.h.

#define AK8963_CNTL1_SELF_TEST   0x18

Definition at line 39 of file ak8963_regs.h.

#define AK8963_CNTL1_SNG_MEASURE   0x11

Definition at line 35 of file ak8963_regs.h.

#define AK8963_FUSE_ASAX   0x10

Definition at line 61 of file ak8963_regs.h.

#define AK8963_FUSE_ASAY   0x11

Definition at line 62 of file ak8963_regs.h.

#define AK8963_FUSE_ASAZ   0x12

Definition at line 63 of file ak8963_regs.h.

#define AK8963_REG_ASTC   0x0C

Definition at line 55 of file ak8963_regs.h.

#define AK8963_REG_CNTL1   0x0A

Definition at line 53 of file ak8963_regs.h.

Referenced by ak8963_configure(), and imu_mpu9250_configure_mag_slave().

#define AK8963_REG_CNTL2   0x0B

Definition at line 54 of file ak8963_regs.h.

Referenced by ak8963_configure(), and imu_mpu9250_configure_mag_slave().

#define AK8963_REG_HXH   0x04

Definition at line 47 of file ak8963_regs.h.

#define AK8963_REG_HXL   0x03

Definition at line 46 of file ak8963_regs.h.

Referenced by ak8963_event(), and imu_mpu9250_configure_mag_slave().

#define AK8963_REG_HYH   0x06

Definition at line 49 of file ak8963_regs.h.

#define AK8963_REG_HYL   0x05

Definition at line 48 of file ak8963_regs.h.

#define AK8963_REG_HZH   0x08

Definition at line 51 of file ak8963_regs.h.

#define AK8963_REG_HZL   0x07

Definition at line 50 of file ak8963_regs.h.

#define AK8963_REG_I2CDIS   0x0F

Definition at line 58 of file ak8963_regs.h.

#define AK8963_REG_INFO   0x01

Definition at line 44 of file ak8963_regs.h.

#define AK8963_REG_ST1   0x02

Definition at line 45 of file ak8963_regs.h.

Referenced by ak8963_read().

#define AK8963_REG_ST2   0x09

Definition at line 52 of file ak8963_regs.h.

Referenced by ak8963_event().

#define AK8963_REG_TS1   0x0D

Definition at line 56 of file ak8963_regs.h.

#define AK8963_REG_TS2   0x0E

Definition at line 57 of file ak8963_regs.h.

#define AK8963_REG_WIA   0x00

Definition at line 43 of file ak8963_regs.h.