Skip to content

0.1.0

Choose a tag to compare

@sunsided sunsided released this 15 Nov 14:24
· 41 commits to main since this release
d2d8b15

lis2mdl

Added

  • Blocking driver on embedded-hal 1.0 and async driver on embedded-hal-async (async feature).
  • Magnetic field, temperature and hard-iron offset access with unit conversions.
  • I²C and SPI interfaces, with I²C address auto-increment on multi-byte transfers.
  • Configuration helpers for low-power mode, low-pass filter, offset cancellation,
    block data update, soft reset and reboot.
  • Threshold interrupt support.
  • Self-test following ST's reference procedure and the datasheet limits.
  • Tracking of the BLE byte order bit.

lis2mdl-registers

Added

  • Register map following the LIS2MDL datasheet (DS12144 Rev 6), with I²C and SPI register traits.