Crate lis2dh12[−][src]
Expand description
Platform-agnostic LIS2DH12 accelerometer driver which uses I2C via
embedded-hal and implements the Accelerometer
trait
from the accelerometer
crate.
Structs
Data status structure, decoded from STATUS_REG register
Accelerometer errors, generic around another error type E
representing
an (optional) cause of this error.
3-dimensional XYZ vector of f32
values
3-dimensional XYZ vector of i16
values
Interrupt setting and status
LIS2DH12
driver
Enums
AOI-6D Interrupt mode
Kinds of accelerometer errors
FIFO mode selection
Full-scale selection
Operating mode
Output Data Rate
Possible slave addresses
Traits
Accelerometer trait which provides g-normalized readings.
Read raw acceleration vectors of type V: Vector
.