[−][src]Struct bmi088::Gyroscope
Methods
impl<SI, CommE, PinE> Gyroscope<SI> where
SI: SensorInterface<InterfaceError = Error<CommE, PinE>>,
[src]
SI: SensorInterface<InterfaceError = Error<CommE, PinE>>,
pub fn probe(
&mut self,
delay_source: &mut impl DelayMs<u8>
) -> Result<bool, SI::InterfaceError>
[src]
&mut self,
delay_source: &mut impl DelayMs<u8>
) -> Result<bool, SI::InterfaceError>
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]
&mut self,
delay_source: &mut impl DelayMs<u8>
) -> Result<(), SI::InterfaceError>
Perform a soft reset on the chip
pub fn setup(
&mut self,
delay_source: &mut impl DelayMs<u8>
) -> Result<(), SI::InterfaceError>
[src]
&mut self,
delay_source: &mut impl DelayMs<u8>
) -> Result<(), SI::InterfaceError>
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]
&mut self,
output_data_rate_hz: u32
) -> Result<(), SI::InterfaceError>
pub fn get_gyro(&mut self) -> Result<[i16; 3], SI::InterfaceError>
[src]
Auto Trait Implementations
impl<SI> Send for Gyroscope<SI> where
SI: Send,
SI: Send,
impl<SI> Sync for Gyroscope<SI> where
SI: Sync,
SI: Sync,
impl<SI> Unpin for Gyroscope<SI> where
SI: Unpin,
SI: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,