Enum mcp9808::reg_conf::Hysteresis
source · #[repr(u8)]pub enum Hysteresis {
Deg_0_0C = 0,
Deg_1_5C = 1,
Deg_3_0C = 2,
Deg_6_0C = 3,
}
Expand description
tUPPER and tLOWER Limit Hysteresis bits This bit can not be altered when either of the Lock bits are set (bit 6 and bit 7). This bit can be programmed in Shutdown mode.
Variants§
Trait Implementations§
source§impl Clone for Hysteresis
impl Clone for Hysteresis
source§fn clone(&self) -> Hysteresis
fn clone(&self) -> Hysteresis
Returns a copy 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 Hysteresis
impl Debug for Hysteresis
source§impl PartialEq for Hysteresis
impl PartialEq for Hysteresis
source§fn eq(&self, other: &Hysteresis) -> bool
fn eq(&self, other: &Hysteresis) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Hysteresis
impl StructuralPartialEq for Hysteresis
Auto Trait Implementations§
impl Freeze for Hysteresis
impl RefUnwindSafe for Hysteresis
impl Send for Hysteresis
impl Sync for Hysteresis
impl Unpin for Hysteresis
impl UnwindSafe for Hysteresis
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