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

MR_REG_M_t Union Reference

MR_REG_M_t Union Reference
[RegM]

MR_REG_M structure definition. More...

#include <LSM303DLH_RegisterDef.h>

Data Fields

uint8_t byte
 Value in byte.
uint8_t MD:2
 Mode select bits.
uint8_t _Reserved:6
 Do not use.

Detailed Description

MR_REG_M structure definition.

Definition at line 198 of file LSM303DLH_RegisterDef.h.


Field Documentation

uint8_t _Reserved

Do not use.

Must be set to 0

Definition at line 203 of file LSM303DLH_RegisterDef.h.

uint8_t byte

Value in byte.

Definition at line 200 of file LSM303DLH_RegisterDef.h.

uint8_t MD

Mode select bits.

These bits select the operation mode of this device.

Definition at line 202 of file LSM303DLH_RegisterDef.h.