mpu9250 0.25.0

no_std driver for the MPU9250 & onboard AK8963 (accelerometer + gyroscope + magnetometer IMU)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/// Marker trait for mode
pub(crate) trait MpuMode {}
/// Accelerometer + Gyroscope + Temperature Sensor
pub struct Imu;
impl MpuMode for Imu {}

/// Magnetometer + Accelerometer + Gyroscope + Temperature Sensor
pub struct Marg;
impl MpuMode for Marg {}

/// Accelerometer + Gyroscope + Dmp
#[cfg(feature = "dmp")]
pub struct Dmp;
#[cfg(feature = "dmp")]
impl MpuMode for Dmp {}