Expand description
§LIS2DTW12
A platform agnostic driver to interface with the LIS2DTW12 (3-axis accelerometer + temperature sensor).
The driver uses the embedded-hal traits and supports interfaces with I2C and SPI.
The driver supports async and blocking modes, selectable with the async and blocking features.
Modules§
- Interface module, contains the
Interfacetrait and re-exports thei2candspimodules
Structs§
- Acceleration data
- Struct representation of the All Interrupt Sources register
- Struct representation of the Status DUP (Event status) register
- FIFO Samples Status
- LIS2DTW12 driver
- RAW acceleration data
- 6D source
- Struct representation of the Status register
- Tap source
- Wake-up source
Enums§
- Digital filtering cutoff selection / Bandwidth selection
- Fifo Mode
- Free-fall Threshold @ FS = ±2 g
- Full-scale selection
- Low Power Mode
- Operating Mode
- Output Data Rate
- Sign of the tap event
- Tap Priority axis selection for tap detection
- Thresholds for 4D/6D function @ FS = ±2 g