Skip to content

Releases

0.2.2

Choose a tag to compare

@github-actions github-actions released this 15 Nov 18:41
424ce42

lis2mdl

Changed

  • Dropped #![deny(warnings)], so a warning added by a newer compiler can no longer
    fail the docs.rs build.

lis2mdl-registers

Changed

  • Dropped #![deny(warnings)], so a warning added by a newer compiler can no longer
    fail the docs.rs build.

0.2.1

Choose a tag to compare

@github-actions github-actions released this 15 Nov 17:06
99b7470

lis2mdl

Added

  • coordinate-frame feature (coordinate-frame 0.6) with the SensorFrame alias, the sensor's axes as
    coordinate_frame::NorthEastUp (left-handed, DS12144 Rev 6 figure 2).
  • Documentation on converting the sensor axes into world frames with coordinate-frame.

lis2mdl-registers

Changed

  • With the defmt feature, registers log their fields (e.g. CfgRegA { md: Idle, odr: Hz10, … })
    instead of the raw byte.

0.2.0

Choose a tag to compare

@github-actions github-actions released this 15 Nov 15:43
e5d7c0e

lis2mdl

Changed

  • Updated to lis2mdl-registers with hardware-registers 0.4.

lis2mdl-registers

Changed

  • [breaking] Updated to hardware-registers 0.4.1. Register now requires
    ReadableI2CRegister8 and FromBits<u8>, as 0.4 no longer implies readability.

0.1.0

Choose a tag to compare

@sunsided sunsided released this 15 Nov 14:24
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.