pub enum LowPowerMode {
LPM0,
LPM1,
LPM2,
LPM3,
}
Expand description
Low power mode options, which control the trade-off between power consumption, measurement noise, and sample latency.
Variants§
Implementations§
Source§impl LowPowerMode
impl LowPowerMode
Sourcepub fn lowest_noise() -> Self
pub fn lowest_noise() -> Self
Returns LPM0, the lowest noise (highest power) mode
Sourcepub fn lower_noise() -> Self
pub fn lower_noise() -> Self
Returns LPM1, a lower noise (higher power) mode
Sourcepub fn lower_power() -> Self
pub fn lower_power() -> Self
Returns LPM2, a lower power (higher noise) mode
Sourcepub fn lowest_power() -> Self
pub fn lowest_power() -> Self
Returns LPM3, the lowest power (highest noise) mode
Trait Implementations§
Source§impl Clone for LowPowerMode
impl Clone for LowPowerMode
Source§fn clone(&self) -> LowPowerMode
fn clone(&self) -> LowPowerMode
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 moreSource§impl Debug for LowPowerMode
impl Debug for LowPowerMode
Source§impl PartialEq for LowPowerMode
impl PartialEq for LowPowerMode
impl Copy for LowPowerMode
impl Eq for LowPowerMode
impl StructuralPartialEq for LowPowerMode
Auto Trait Implementations§
impl Freeze for LowPowerMode
impl RefUnwindSafe for LowPowerMode
impl Send for LowPowerMode
impl Sync for LowPowerMode
impl Unpin for LowPowerMode
impl UnwindSafe for LowPowerMode
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