[][src]Crate lis3dh

Platform-agnostic LIS3DH accelerometer driver which uses I²C via embedded-hal. This driver implements the Accelerometer and RawAccelerometer traits from the accelerometer crate.

Re-exports

pub use accelerometer;

Structs

DataStatus

Data status structure. Decoded from the STATUS_REG register.

Lis3dh

LIS3DH driver.

Enums

DataRate

Output data rate.

Error

Accelerometer errors, generic around another error type E representing an (optional) cause of this error.

Mode

Operating mode.

Range

Full-scale selection.

SlaveAddr

Possible I²C slave addresses.