Enum mcp9808::reg_conf::AlertStatus
source · pub enum AlertStatus {
NotAsserted = 0,
Asserted = 1,
}
Expand description
Alert Output Status bit This bit can not be set to ‘1’ or cleared to ‘0’ in Shutdown mode. However, if the Alert output is configured as Interrupt mode, and if the host controller clears to ‘0’, the interrupt, using bit 5 while the device is in Shutdown mode, then this bit will also be cleared ‘0’.
Variants§
NotAsserted = 0
Alert output is not asserted by the device (power-up default)
Asserted = 1
Alert output is asserted as a comparator/Interrupt or critical temperature output
Auto Trait Implementations§
impl Freeze for AlertStatus
impl RefUnwindSafe for AlertStatus
impl Send for AlertStatus
impl Sync for AlertStatus
impl Unpin for AlertStatus
impl UnwindSafe for AlertStatus
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