[][src]Enum mpu6050::registers::Registers

pub enum Registers {
    SLAVE_ADDR,
    WHOAMI,
    GYRO_REGX_H,
    GYRO_REGY_H,
    GYRO_REGZ_H,
    ACC_REGX_H,
    ACC_REGY_H,
    ACC_REGZ_H,
    TEMP_OUT_H,
    POWER_MGMT_1,
    POWER_MGMT_2,
    ACCEL_CONFIG,
    GYRO_CONFIG,
}

Variants

SLAVE_ADDR

Slave address of Mpu6050

WHOAMI

Internal register to check slave addr

GYRO_REGX_H

High Bytle Register Gyro x orientation

GYRO_REGY_H

High Bytle Register Gyro y orientation

GYRO_REGZ_H

High Bytle Register Gyro z orientation

ACC_REGX_H

High Byte Register Calc roll

ACC_REGY_H

High Byte Register Calc pitch

ACC_REGZ_H

High Byte Register Calc yaw

TEMP_OUT_H

High Byte Register Temperature

POWER_MGMT_1

Register to control chip waking from sleep, enabling sensors, default: sleep

POWER_MGMT_2

Internal clock

ACCEL_CONFIG

Accelerometer config register

GYRO_CONFIG

gyro config register

Methods

impl Registers[src]

pub fn addr(&self) -> u8[src]

Trait Implementations

impl Debug for Registers[src]

impl Copy for Registers[src]

impl Clone for Registers[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Registers

impl Sync for Registers

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>,