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

CRB_REG_M_t Union Reference

CRB_REG_M_t Union Reference
[RegM]

CRB_REG_M structure definition. More...

#include <LSM303DLH_RegisterDef.h>

Data Fields

uint8_t byte
 Value in byte.
uint8_t _Reserved:5
 Do not use.
uint8_t GN:3
 Gain configuration.

Detailed Description

CRB_REG_M structure definition.

Definition at line 187 of file LSM303DLH_RegisterDef.h.


Field Documentation

uint8_t _Reserved

Do not use.

Must be set to ‘0

Definition at line 191 of file LSM303DLH_RegisterDef.h.

uint8_t byte

Value in byte.

Definition at line 189 of file LSM303DLH_RegisterDef.h.

uint8_t GN

Gain configuration.

Definition at line 192 of file LSM303DLH_RegisterDef.h.