Enum mcp9808::reg_conf::ShutdownMode
source · pub enum ShutdownMode {
Continuous = 0,
Shutdown = 1,
}
Expand description
In shutdown, all power-consuming activities are disabled, though all registers can be written to or read. This bit cannot be set to ‘1’ when either of the Lock bits is set (bit 6 and bit 7). However, it can be cleared to ‘0’ for continuous conversion while locked.
Variants§
Auto Trait Implementations§
impl Freeze for ShutdownMode
impl RefUnwindSafe for ShutdownMode
impl Send for ShutdownMode
impl Sync for ShutdownMode
impl Unpin for ShutdownMode
impl UnwindSafe for ShutdownMode
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