pub enum PowerMode {
NormalMode,
LowPower,
}
Expand description
Measurement power mode: Normal mode or low power mode.
The sensors provides a low power measurement mode. Using the low power mode significantly shortens the measurement duration and thus minimizes the energy consumption per measurement. The benefit of ultra-low power consumption comes at the cost of reduced repeatability of the sensor signals: while the impact on the relative humidity signal is negligible and does not affect accuracy, it has an effect on temperature accuracy.
More details can be found in the “Low Power Measurement Mode” application note by Sensirion.
Variants§
NormalMode
Normal measurement.
LowPower
Low power measurement: Less energy consumption, but repeatability and accuracy of measurements are negatively impacted.
Trait Implementations§
source§impl PartialEq for PowerMode
impl PartialEq for PowerMode
impl Copy for PowerMode
impl Eq for PowerMode
impl StructuralPartialEq for PowerMode
Auto Trait Implementations§
impl Freeze for PowerMode
impl RefUnwindSafe for PowerMode
impl Send for PowerMode
impl Sync for PowerMode
impl Unpin for PowerMode
impl UnwindSafe for PowerMode
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