[][src]Struct bmi088::Gyroscope

pub struct Gyroscope<SI> { /* fields omitted */ }

Methods

impl<SI, CommE, PinE> Gyroscope<SI> where
    SI: SensorInterface<InterfaceError = Error<CommE, PinE>>, 
[src]

pub fn probe(
    &mut self,
    delay_source: &mut impl DelayMs<u8>
) -> Result<bool, SI::InterfaceError>
[src]

Read the sensor identifiers and return true if they match the expected value

pub fn soft_reset(
    &mut self,
    delay_source: &mut impl DelayMs<u8>
) -> Result<(), SI::InterfaceError>
[src]

Perform a soft reset on the chip

pub fn setup(
    &mut self,
    delay_source: &mut impl DelayMs<u8>
) -> Result<(), SI::InterfaceError>
[src]

Give the sensor interface a chance to set up

pub fn set_range(&mut self, dps: u32) -> Result<(), SI::InterfaceError>[src]

pub fn set_bandwidth(
    &mut self,
    output_data_rate_hz: u32
) -> Result<(), SI::InterfaceError>
[src]

pub fn get_gyro(&mut self) -> Result<[i16; 3], SI::InterfaceError>[src]

Auto Trait Implementations

impl<SI> Send for Gyroscope<SI> where
    SI: Send

impl<SI> Sync for Gyroscope<SI> where
    SI: Sync

impl<SI> Unpin for Gyroscope<SI> where
    SI: Unpin

Blanket Implementations

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

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

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

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

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

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> 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.