My attempt to made a more useful lib. You can get the accelerator and magnetometer.
Fork of LSM303DLH by
Ctrl_Reg4_A_t Union Reference
[RegA]
CTRL_REG4_A structure definition. More...
#include <LSM303DLH_RegisterDef.h>
Data Fields | |
uint8_t | byte |
Value in byte. | |
uint8_t | SIM:1 |
SPI serial interface mode selection. | |
uint8_t | _Reserved:2 |
Do not use. | |
uint8_t | HR:1 |
High resolution output mode: Default value: 0. | |
uint8_t | FS:2 |
Full-scale selection. | |
uint8_t | BLE:1 |
Big/little endian data selection. | |
uint8_t | BDU:1 |
Block data update. |
Detailed Description
CTRL_REG4_A structure definition.
Definition at line 73 of file LSM303DLH_RegisterDef.h.
Field Documentation
uint8_t _Reserved |
Do not use.
Definition at line 78 of file LSM303DLH_RegisterDef.h.
uint8_t BDU |
uint8_t BLE |
Big/little endian data selection.
Default value 0.
Definition at line 81 of file LSM303DLH_RegisterDef.h.
uint8_t byte |
Value in byte.
Definition at line 75 of file LSM303DLH_RegisterDef.h.
uint8_t FS |
uint8_t HR |
High resolution output mode: Default value: 0.
Definition at line 79 of file LSM303DLH_RegisterDef.h.
uint8_t SIM |
SPI serial interface mode selection.
Default value: 0.
Definition at line 77 of file LSM303DLH_RegisterDef.h.
Generated on Fri Jul 15 2022 14:50:37 by 1.7.2