Expand description
§STMicroelectronics LSM303DLHC I²C driver
A platform-agnostic driver to interface with the LSM303DLHC (accelerometer + compass)
Do note that the sensor is discontinued and that documentation is scarce. Owners of an STM32F3 Discovery board may still find this crate useful, among others.
This driver was built using embedded-hal and hardware-registers traits.
Modules§
- wrapper
- Provides wrappers for I2C types.
Structs§
- I16x3
- XYZ triple
- LSM303DLHC
- LSM303DLHC driver.
Enums§
- Accel
Odr - Accelerometer Output Data Rate
- MagOdr
- Magnetometer Output Data Rate
- Sensitivity
- Acceleration sensitivity (full scale selection).
Type Aliases§
- Lsm303dlhc
Deprecated - LSM303DLHC driver.