Repository navigation
Releases
Releases · sunsided/lis2mdl
0.2.2
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
lis2mdl
Added
coordinate-framefeature (coordinate-frame 0.6) with theSensorFramealias, 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
defmtfeature, registers log their fields (e.g.CfgRegA { md: Idle, odr: Hz10, … })
instead of the raw byte.
0.2.0
lis2mdl
Changed
- Updated to
lis2mdl-registerswithhardware-registers0.4.
lis2mdl-registers
Changed
- [breaking] Updated to
hardware-registers0.4.1.Registernow requires
ReadableI2CRegister8andFromBits<u8>, as 0.4 no longer implies readability.
0.1.0
lis2mdl
Added
- Blocking driver on embedded-hal 1.0 and async driver on embedded-hal-async (
asyncfeature). - 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
BLEbyte order bit.
lis2mdl-registers
Added
- Register map following the LIS2MDL datasheet (DS12144 Rev 6), with I²C and SPI register traits.