pub enum ALERT {
NoAlert = 0,
Alert = 1,
}Expand description
SMBus alert This flag is set by hardware when SMBHEN=1 (SMBus host configuration), ALERTEN=1 and a SMBALERT event (falling edge) is detected on SMBA pin. It is cleared by software by setting the ALERTCF bit. Note: This bit is cleared by hardware when PE=0. If the SMBus feature is not supported, this bit is reserved and forced by hardware to ‘0’. Refer to .
Value on reset: 0
Variants§
Trait Implementations§
impl Copy for ALERT
impl Eq for ALERT
impl StructuralPartialEq for ALERT
Auto Trait Implementations§
impl Freeze for ALERT
impl RefUnwindSafe for ALERT
impl Send for ALERT
impl Sync for ALERT
impl Unpin for ALERT
impl UnwindSafe for ALERT
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