pub enum Oversampling {
UltraLowPower = 0,
Standard = 1,
HighResolution = 2,
UltraHighResolution = 3,
}Expand description
Oversampling modes
Variants§
UltraLowPower = 0
Number of samples 1, conversion time max 4.5ms, average current 3µA
Standard = 1
Number of samples 2, conversion time max 7.5ms, average current 5µA
HighResolution = 2
Number of samples 4, conversion time max 13.5ms, average current 7µA
UltraHighResolution = 3
Number of samples 8, conversion time max. 22.5ms, average current 12µA
Trait Implementations§
Source§impl Clone for Oversampling
impl Clone for Oversampling
Source§fn clone(&self) -> Oversampling
fn clone(&self) -> Oversampling
Returns a duplicate 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 moreimpl Copy for Oversampling
Auto Trait Implementations§
impl Freeze for Oversampling
impl RefUnwindSafe for Oversampling
impl Send for Oversampling
impl Sync for Oversampling
impl Unpin for Oversampling
impl UnwindSafe for Oversampling
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