Module lsm303::registers
[−]
[src]
Type and address definitions for most of the LSM303 registers.
While the accelerometer
and magnetometer
modules aim to cover common
use cases, you may require more direct control of the sensors.
For those purposes, both Accelerometer
and Magnetometer
implement
Deref
and DerefMut
, giving access to the underlying I2C device.
This module defines all of the register addresses as u8
constants.
It also defines bitflags for most of the registers.
Refer to the datasheet
for more extensive documentation.
Structs
ClickCfgA | |
ClickSrcA | |
CraRegM | |
CrbRegM | |
CtrlReg1A | |
CtrlReg2Af | |
CtrlReg3A | |
CtrlReg4A | |
CtrlReg5A | |
CtrlReg6A | |
FifoCtrlRegA | |
FifoSrcRegA | |
IntCfgA | |
IntDurationA | |
IntSrcA | |
MrRegM | |
Reference | |
SrRegM | |
StatusRegA |