Enum bmi160::GyroscopeRange
source · pub enum GyroscopeRange {
Scale2000 = 0,
Scale1000 = 1,
Scale500 = 2,
Scale250 = 3,
Scale125 = 4,
}
Expand description
Gyroscope range
Variants§
Scale2000 = 0
16.4 LSB/°/s <-> 61.0 m°/s / LSB
Scale1000 = 1
32.8 LSB/°/s <-> 30.5 m°/s / LSB
Scale500 = 2
65.6 LSB/°/s <-> 15.3 m°/s / LSB
Scale250 = 3
131.2 LSB/°/s <-> 7.6 m°/s / LSB
Scale125 = 4
262.4 LSB/°/s 3.8m°/s / LSB
Trait Implementations§
source§impl Clone for GyroscopeRange
impl Clone for GyroscopeRange
source§fn clone(&self) -> GyroscopeRange
fn clone(&self) -> GyroscopeRange
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GyroscopeRange
impl Debug for GyroscopeRange
source§impl Default for GyroscopeRange
impl Default for GyroscopeRange
source§fn default() -> GyroscopeRange
fn default() -> GyroscopeRange
Returns the “default value” for a type. Read more
source§impl PartialEq for GyroscopeRange
impl PartialEq for GyroscopeRange
source§fn eq(&self, other: &GyroscopeRange) -> bool
fn eq(&self, other: &GyroscopeRange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for GyroscopeRange
impl StructuralPartialEq for GyroscopeRange
Auto Trait Implementations§
impl Freeze for GyroscopeRange
impl RefUnwindSafe for GyroscopeRange
impl Send for GyroscopeRange
impl Sync for GyroscopeRange
impl Unpin for GyroscopeRange
impl UnwindSafe for GyroscopeRange
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more