Loading...
Searching...
No Matches

Register definitions for the QMC5883L device driver. More...

Detailed Description

Register definitions for the QMC5883L device driver.

Author
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de

Definition in file qmc5883l_internal.h.

Go to the source code of this file.

Register map

#define QMC5883L_DOXL   (0x00)
 
#define QMC5883L_DOXH   (0x01)
 
#define QMC5883L_DOYL   (0x02)
 
#define QMC5883L_DOYH   (0x03)
 
#define QMC5883L_DOZL   (0x04)
 
#define QMC5883L_DOZH   (0x05)
 
#define QMC5883L_STATUS   (0x06)
 
#define QMC5883L_TOUTL   (0x07)
 
#define QMC5883L_TOUTH   (0x08)
 
#define QMC5883L_CTRL1   (0x09)
 
#define QMC5883L_CTRL2   (0x0a)
 
#define QMC5883L_SETRESET   (0x0b)
 

Device modes

#define QMC5883L_STANDBY   (0x00)
 
#define QMC5883L_CONT   (0x01)
 

Device status flags

#define QMC5883L_DRDY   (0x01)
 
#define QMC5883L_OVL   (0x02)
 
#define QMC5883L_DOR   (0x04)
 

Configuration bitfields

#define QMC5883L_INT_ENB   (0x01)
 
#define QMC5883L_ROL_PNT   (0x40)
 
#define QMC5883L_SOFT_RST   (0x80)
 

Macro Definition Documentation

◆ QMC5883L_CONT

#define QMC5883L_CONT   (0x01)

Definition at line 50 of file qmc5883l_internal.h.

◆ QMC5883L_CTRL1

#define QMC5883L_CTRL1   (0x09)

Definition at line 40 of file qmc5883l_internal.h.

◆ QMC5883L_CTRL2

#define QMC5883L_CTRL2   (0x0a)

Definition at line 41 of file qmc5883l_internal.h.

◆ QMC5883L_DOR

#define QMC5883L_DOR   (0x04)

Definition at line 59 of file qmc5883l_internal.h.

◆ QMC5883L_DOXH

#define QMC5883L_DOXH   (0x01)

Definition at line 32 of file qmc5883l_internal.h.

◆ QMC5883L_DOXL

#define QMC5883L_DOXL   (0x00)

Definition at line 31 of file qmc5883l_internal.h.

◆ QMC5883L_DOYH

#define QMC5883L_DOYH   (0x03)

Definition at line 34 of file qmc5883l_internal.h.

◆ QMC5883L_DOYL

#define QMC5883L_DOYL   (0x02)

Definition at line 33 of file qmc5883l_internal.h.

◆ QMC5883L_DOZH

#define QMC5883L_DOZH   (0x05)

Definition at line 36 of file qmc5883l_internal.h.

◆ QMC5883L_DOZL

#define QMC5883L_DOZL   (0x04)

Definition at line 35 of file qmc5883l_internal.h.

◆ QMC5883L_DRDY

#define QMC5883L_DRDY   (0x01)

Definition at line 57 of file qmc5883l_internal.h.

◆ QMC5883L_INT_ENB

#define QMC5883L_INT_ENB   (0x01)

Definition at line 66 of file qmc5883l_internal.h.

◆ QMC5883L_OVL

#define QMC5883L_OVL   (0x02)

Definition at line 58 of file qmc5883l_internal.h.

◆ QMC5883L_ROL_PNT

#define QMC5883L_ROL_PNT   (0x40)

Definition at line 67 of file qmc5883l_internal.h.

◆ QMC5883L_SETRESET

#define QMC5883L_SETRESET   (0x0b)

Definition at line 42 of file qmc5883l_internal.h.

◆ QMC5883L_SOFT_RST

#define QMC5883L_SOFT_RST   (0x80)

Definition at line 68 of file qmc5883l_internal.h.

◆ QMC5883L_STANDBY

#define QMC5883L_STANDBY   (0x00)

Definition at line 49 of file qmc5883l_internal.h.

◆ QMC5883L_STATUS

#define QMC5883L_STATUS   (0x06)

Definition at line 37 of file qmc5883l_internal.h.

◆ QMC5883L_TOUTH

#define QMC5883L_TOUTH   (0x08)

Definition at line 39 of file qmc5883l_internal.h.

◆ QMC5883L_TOUTL

#define QMC5883L_TOUTL   (0x07)

Definition at line 38 of file qmc5883l_internal.h.