Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
hmc58xx_regs.h File Reference

Register defs for Honeywell HMC5843, HMC5883 and HMC5983 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, HMC5883 and HMC5983 magnetometers.

Definition in file hmc58xx_regs.h.

Macro Definition Documentation

◆ HMC5843_REG_DATYL

#define HMC5843_REG_DATYL   0x06

Definition at line 47 of file hmc58xx_regs.h.

◆ HMC5843_REG_DATYM

#define HMC5843_REG_DATYM   0x05

Definition at line 46 of file hmc58xx_regs.h.

◆ HMC5843_REG_DATZL

#define HMC5843_REG_DATZL   0x08

Definition at line 49 of file hmc58xx_regs.h.

◆ HMC5843_REG_DATZM

#define HMC5843_REG_DATZM   0x07

Definition at line 48 of file hmc58xx_regs.h.

◆ HMC5883_REG_DATYL

#define HMC5883_REG_DATYL   0x08

Definition at line 54 of file hmc58xx_regs.h.

◆ HMC5883_REG_DATYM

#define HMC5883_REG_DATYM   0x07

Definition at line 53 of file hmc58xx_regs.h.

◆ HMC5883_REG_DATZL

#define HMC5883_REG_DATZL   0x06

Definition at line 52 of file hmc58xx_regs.h.

◆ HMC5883_REG_DATZM

#define HMC5883_REG_DATZM   0x05

Definition at line 51 of file hmc58xx_regs.h.

◆ HMC58XX_ADDR

◆ HMC58XX_REG_CFGA

#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().

◆ HMC58XX_REG_CFGB

#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().

◆ HMC58XX_REG_DATXL

#define HMC58XX_REG_DATXL   0x04

Definition at line 38 of file hmc58xx_regs.h.

◆ HMC58XX_REG_DATXM

#define HMC58XX_REG_DATXM   0x03

Definition at line 37 of file hmc58xx_regs.h.

Referenced by hmc58xx_read(), and imu_aspirin2_configure_mag_slave().

◆ HMC58XX_REG_IDA

#define HMC58XX_REG_IDA   0x0A

Definition at line 58 of file hmc58xx_regs.h.

◆ HMC58XX_REG_IDB

#define HMC58XX_REG_IDB   0x0B

Definition at line 59 of file hmc58xx_regs.h.

◆ HMC58XX_REG_IDC

#define HMC58XX_REG_IDC   0x0C

Definition at line 60 of file hmc58xx_regs.h.

◆ HMC58XX_REG_MODE

#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().

◆ HMC58XX_REG_STATUS

#define HMC58XX_REG_STATUS   0x09

Definition at line 57 of file hmc58xx_regs.h.