Expand description

An embedded-hal driver for the ICM-42670 6-axis IMU from InvenSense.

The ICM-42670 combines a 3-axis accelerometer with a 3-axis gyroscope into a single package. It has a configurable host interface which supports I²C, SPI, and I3C communications. Presently this driver only supports using the I²C interface.

For additional information about this device please refer to the datasheet.

Re-exports

pub use accelerometer;

Modules

Re-export any traits which may be required by end users

Structs

ICM-42670 driver

Enums

Accelerometer ODR selection values

Configurable ranges of the Accelerometer

I²C slave addresses, determined by the logic level of pin AP_AD0

Any type of error which may occur while interacting with the device

Gyroscope ODR selection values

Configurable ranges of the Gyroscope

Configurable power modes of the IMU