TM STM32F4xx Libraries  v1.0.0
Libraries for STM32F4xx devices from Tilen Majerle

Register settings for HMC5883L. More...

Macros

#define HMC5883L_CONFA   0x00
 
#define HMC5883L_CONFB   0x01
 
#define HMC5883L_MODE   0x02
 
#define HMC5883L_DATAXM   0x03
 
#define HMC5883L_DATAXL   0x04
 
#define HMC5883L_DATAZM   0x05
 
#define HMC5883L_DATAZL   0x06
 
#define HMC5883L_DATAYM   0x07
 
#define HMC5883L_DATAYL   0x08
 
#define HMC5883L_STATUS   0x09
 
#define HMC5883L_IDA   0x0A
 
#define HMC5883L_IDB   0x0B
 
#define HMC5883L_IDC   0x0C
 

Detailed Description

Register settings for HMC5883L.

Macro Definition Documentation

#define HMC5883L_CONFA   0x00

Configuration Register A

#define HMC5883L_CONFB   0x01

Configuration Register B

#define HMC5883L_DATAXL   0x04

Data Output X LSB Register

#define HMC5883L_DATAXM   0x03

Data Output X MSB Register

#define HMC5883L_DATAYL   0x08

Data Output Y MSB Register

#define HMC5883L_DATAYM   0x07

Data Output Y MSB Register

#define HMC5883L_DATAZL   0x06

Data Output Z LSB Register

#define HMC5883L_DATAZM   0x05

Data Output Z MSB Register

#define HMC5883L_IDA   0x0A

Identification Register A

#define HMC5883L_IDB   0x0B

Identification Register B

#define HMC5883L_IDC   0x0C

Identification Register C

#define HMC5883L_MODE   0x02

Mode Register

#define HMC5883L_STATUS   0x09

Status register