icm20948-async

Crates.ioicm20948-async
lib.rsicm20948-async
version0.1.3
sourcesrc
created_at2023-10-08 19:57:18.185395
updated_at2023-10-12 15:51:53.224663
descriptionAsync driver for the ICM20948 (Imu+Mag) for no_std environments
homepage
repositoryhttps://github.com/peterkrull/icm20948-async
max_upload_size
id997418
size35,446
Peter Krull (peterkrull)

documentation

README

Async Rust driver for the ICM20948

This driver crate for the ICM20948 uses the embedded-hal-async traits to achieve completely non-blocking access to the ICM20948. The crate uses generics to automatically expose the relevant methods, when various hardware features are configured, for example when the magnetometer is enabled.

The current feature set is basic, but allows for reading the main sensors and writing the most important values. Below is the feature list, with supported features checked off. The rest are on the to-do list.

  • Reading from accelerometer
  • Reading from gyroscope
  • Reading from magnetometer
  • Reading from thermometer
  • I2C support (async)
  • SPI support (async)
  • I2C support (blocking)
  • SPI support (blocking)
  • Setting DLP, range and unit
  • Setting sample rate divider
  • Setting offsets (acc, gyro)
  • Support for FIFO
  • Support for DMP
  • Power management
  • Run self-tests
  • Interrupts
  • Release I2C/SPI object when not used
  • Use embedded-hal traits for delays
Commit count: 28

cargo fmt