pub enum ALERT_A {
NoAlert,
Alert,
}
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. Please refer to Section25.3: I2C implementation.
Value on reset: 0
Variants
NoAlert
0: SMBA alert is not detected
Alert
1: SMBA alert event is detected on SMBA pin
Trait Implementations
impl Copy for ALERT_A
impl StructuralPartialEq for ALERT_A
Auto Trait Implementations
impl RefUnwindSafe for ALERT_A
impl Send for ALERT_A
impl Sync for ALERT_A
impl Unpin for ALERT_A
impl UnwindSafe for ALERT_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more