Enum embedded_devices::devices::mcp9808::AlertControl
source · pub enum AlertControl {
Disabled = 0,
Enabled = 1,
}
Expand description
Alert Output Control bit.
This cannot be altered when either of the lock bits are set (CriticalLock::Locked / WindowLock::Locked). This bit can be programmed in Shutdown mode, but the Alert output will not assert or deassert.
Variants§
Trait Implementations§
source§impl BitfieldEnum for AlertControl
impl BitfieldEnum for AlertControl
source§impl Clone for AlertControl
impl Clone for AlertControl
source§fn clone(&self) -> AlertControl
fn clone(&self) -> AlertControl
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 AlertControl
impl Debug for AlertControl
source§impl Format for AlertControl
impl Format for AlertControl
source§impl PartialEq for AlertControl
impl PartialEq for AlertControl
source§fn eq(&self, other: &AlertControl) -> bool
fn eq(&self, other: &AlertControl) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AlertControl
impl StructuralEq for AlertControl
impl StructuralPartialEq for AlertControl
Auto Trait Implementations§
impl RefUnwindSafe for AlertControl
impl Send for AlertControl
impl Sync for AlertControl
impl Unpin for AlertControl
impl UnwindSafe for AlertControl
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