pub enum PowerMode {
ContinuousConversion = 0,
Shutdown = 1,
}
Expand description
Shutdown Mode See the datasheet (section 7.5.1.2) for more info.
Variants§
ContinuousConversion = 0
Device is in continuous conversion mode
Shutdown = 1
Device is in shutdown mode
Trait Implementations§
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