Crate icm42670

Crate icm42670 

Source
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§

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

Structs§

Icm42670
ICM-42670 driver

Enums§

AccelOdr
Accelerometer ODR selection values
AccelRange
Configurable ranges of the Accelerometer
Address
I²C slave addresses, determined by the logic level of pin AP_AD0
Error
Any type of error which may occur while interacting with the device
GyroOdr
Gyroscope ODR selection values
GyroRange
Configurable ranges of the Gyroscope
PowerMode
Configurable power modes of the IMU