Paparazzi UAS  v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
hmc58xx_regs.h File Reference

Register defs for Honeywell HMC5843 and HMC5883 magnetometers. More...

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

Go to the source code of this file.

Macros

#define HMC58XX_ADDR   0x3C
 
#define HMC58XX_REG_CFGA   0x00
 
#define HMC58XX_REG_CFGB   0x01
 
#define HMC58XX_REG_MODE   0x02
 
#define HMC58XX_REG_DATXM   0x03
 
#define HMC58XX_REG_DATXL   0x04
 
#define HMC5843_REG_DATYM   0x05
 
#define HMC5843_REG_DATYL   0x06
 
#define HMC5843_REG_DATZM   0x07
 
#define HMC5843_REG_DATZL   0x08
 
#define HMC5883_REG_DATZM   0x05
 
#define HMC5883_REG_DATZL   0x06
 
#define HMC5883_REG_DATYM   0x07
 
#define HMC5883_REG_DATYL   0x08
 
#define HMC58XX_REG_STATUS   0x09
 
#define HMC58XX_REG_IDA   0x0A
 
#define HMC58XX_REG_IDB   0x0B
 
#define HMC58XX_REG_IDC   0x0C
 

Detailed Description

Register defs for Honeywell HMC5843 and HMC5883 magnetometers.

Definition in file hmc58xx_regs.h.

Macro Definition Documentation

#define HMC5843_REG_DATYL   0x06

Definition at line 47 of file hmc58xx_regs.h.

#define HMC5843_REG_DATYM   0x05

Definition at line 46 of file hmc58xx_regs.h.

#define HMC5843_REG_DATZL   0x08

Definition at line 49 of file hmc58xx_regs.h.

#define HMC5843_REG_DATZM   0x07

Definition at line 48 of file hmc58xx_regs.h.

#define HMC5883_REG_DATYL   0x08

Definition at line 54 of file hmc58xx_regs.h.

#define HMC5883_REG_DATYM   0x07

Definition at line 53 of file hmc58xx_regs.h.

#define HMC5883_REG_DATZL   0x06

Definition at line 52 of file hmc58xx_regs.h.

#define HMC5883_REG_DATZM   0x05

Definition at line 51 of file hmc58xx_regs.h.

#define HMC58XX_REG_CFGA   0x00

Definition at line 34 of file hmc58xx_regs.h.

Referenced by hmc58xx_send_config(), and imu_aspirin2_configure_mag_slave().

#define HMC58XX_REG_CFGB   0x01

Definition at line 35 of file hmc58xx_regs.h.

Referenced by hmc58xx_send_config(), and imu_aspirin2_configure_mag_slave().

#define HMC58XX_REG_DATXL   0x04

Definition at line 38 of file hmc58xx_regs.h.

#define HMC58XX_REG_DATXM   0x03

Definition at line 37 of file hmc58xx_regs.h.

Referenced by hmc58xx_read(), and imu_aspirin2_configure_mag_slave().

#define HMC58XX_REG_IDA   0x0A

Definition at line 58 of file hmc58xx_regs.h.

#define HMC58XX_REG_IDB   0x0B

Definition at line 59 of file hmc58xx_regs.h.

#define HMC58XX_REG_IDC   0x0C

Definition at line 60 of file hmc58xx_regs.h.

#define HMC58XX_REG_MODE   0x02

Definition at line 36 of file hmc58xx_regs.h.

Referenced by hmc58xx_send_config(), and imu_aspirin2_configure_mag_slave().

#define HMC58XX_REG_STATUS   0x09

Definition at line 57 of file hmc58xx_regs.h.