My attempt to made a more useful lib. You can get the accelerator and magnetometer.

Fork of LSM303DLH by Michael Shimniok

Embed: (wiki syntax)

« Back to documentation index

SR_Reg_M_t Union Reference

SR_Reg_M_t Union Reference
[RegM]

SR_Reg_M structure definition. More...

#include <LSM303DLH_RegisterDef.h>

Data Fields

uint8_t byte
 Value in byte.
uint8_t DRDY:1
 Data output register lock.
uint8_t LOCK:1
 Data ready bit.
uint8_t _Reserved:8
 Do not use.

Detailed Description

SR_Reg_M structure definition.

Definition at line 162 of file LSM303DLH_RegisterDef.h.


Field Documentation

uint8_t _Reserved

Do not use.

Definition at line 168 of file LSM303DLH_RegisterDef.h.

uint8_t byte

Value in byte.

Definition at line 164 of file LSM303DLH_RegisterDef.h.

uint8_t DRDY

Data output register lock.

Definition at line 166 of file LSM303DLH_RegisterDef.h.

uint8_t LOCK

Data ready bit.

Definition at line 167 of file LSM303DLH_RegisterDef.h.