pub struct Mpu6050<I2c> where
    I2c: Write + WriteRead,
    <I2c as WriteRead>::Error: Debug,
    <I2c as Write>::Error: Debug
{ /* private fields */ }
Expand description

InvenSense MPU-6050 Driver

Implementations

Construct a new i2c driver for the MPU-6050

Load DMP firmware and perform all appropriate initialization.

Perform power reset of the MPU

Perform reset of the signal path

Pick the clock-source

Set the DMP bit. To perform full DMP initialization, see initialize_dmp()

Reset the DMP processor

Read the FIFO

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.