pub enum AverageSamples {
Avg1 = 0,
Avg2 = 1,
Avg4 = 2,
Avg8 = 3,
Avg16 = 4,
Avg32 = 5,
Avg64 = 6,
}Expand description
Sample averaging depth used in supported sensor modes
(§6.1.2, Register (0x20) acc_conf acc_avg_num; Register (0x21) gyr_conf gyr_avg_num).
Variants§
Trait Implementations§
Source§impl Clone for AverageSamples
impl Clone for AverageSamples
Source§fn clone(&self) -> AverageSamples
fn clone(&self) -> AverageSamples
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AverageSamples
impl Debug for AverageSamples
Source§impl Format for AverageSamples
impl Format for AverageSamples
Source§impl PartialEq for AverageSamples
impl PartialEq for AverageSamples
Source§fn eq(&self, other: &AverageSamples) -> bool
fn eq(&self, other: &AverageSamples) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AverageSamples
impl Eq for AverageSamples
impl StructuralPartialEq for AverageSamples
Auto Trait Implementations§
impl Freeze for AverageSamples
impl RefUnwindSafe for AverageSamples
impl Send for AverageSamples
impl Sync for AverageSamples
impl Unpin for AverageSamples
impl UnsafeUnpin for AverageSamples
impl UnwindSafe for AverageSamples
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