My attempt to made a more useful lib. You can get the accelerator and magnetometer.
Fork of LSM303DLH by
Ctrl_Reg5_A_t Union Reference
[RegA]
CTRL_REG5_A structure definition. More...
#include <LSM303DLH_RegisterDef.h>
Data Fields | |
uint8_t | byte |
Value in byte. | |
uint8_t | D4D_INT2:1 |
4D detection is enabled on INT2 when 6D bit on INT2_CFG is set to 1. | |
uint8_t | LIR_INT2:1 |
Latch interrupt request on INT2_SRC register, with INT2_SRC register cleared by reading INT2_SRC itself. | |
uint8_t | D4D_INT1:1 |
4D detection is enabled on INT1 when 6D bit on INT1_CFG is set to 1. | |
uint8_t | LIR_INT1:1 |
Latch interrupt request on INT1_SRC register, with INT1_SRC register cleared by reading INT1_SRC itself. | |
uint8_t | _Reserved:2 |
Do not use. | |
uint8_t | FIFO_EN:1 |
FIFO enable. | |
uint8_t | BOOT:1 |
Reboot memory content. |
Detailed Description
CTRL_REG5_A structure definition.
Definition at line 88 of file LSM303DLH_RegisterDef.h.
Field Documentation
uint8_t _Reserved |
Do not use.
Definition at line 98 of file LSM303DLH_RegisterDef.h.
uint8_t BOOT |
uint8_t byte |
Value in byte.
Definition at line 90 of file LSM303DLH_RegisterDef.h.
uint8_t D4D_INT1 |
4D detection is enabled on INT1 when 6D bit on INT1_CFG is set to 1.
Definition at line 95 of file LSM303DLH_RegisterDef.h.
uint8_t D4D_INT2 |
4D detection is enabled on INT2 when 6D bit on INT2_CFG is set to 1.
Definition at line 92 of file LSM303DLH_RegisterDef.h.
uint8_t FIFO_EN |
uint8_t LIR_INT1 |
Latch interrupt request on INT1_SRC register, with INT1_SRC register cleared by reading INT1_SRC itself.
Default value: 0.
Definition at line 96 of file LSM303DLH_RegisterDef.h.
uint8_t LIR_INT2 |
Latch interrupt request on INT2_SRC register, with INT2_SRC register cleared by reading INT2_SRC itself.
Default value: 0.
Definition at line 93 of file LSM303DLH_RegisterDef.h.
Generated on Fri Jul 15 2022 14:50:37 by 1.7.2