Enum stm32wlxx_hal::pac::i2c1::cr1::ALERTEN_A
pub enum ALERTEN_A {
Disabled = 0,
Enabled = 1,
}
Available on crate feature
stm32wl5x_cm4
only.Expand description
SMBUS alert enable
Value on reset: 0
Variants§
Disabled = 0
0: In device mode (SMBHEN=Disabled) Releases SMBA pin high and Alert Response Address Header disabled (0001100x) followed by NACK. In host mode (SMBHEN=Enabled) SMBus Alert pin (SMBA) not supported
Enabled = 1
1: In device mode (SMBHEN=Disabled) Drives SMBA pin low and Alert Response Address Header enabled (0001100x) followed by ACK.In host mode (SMBHEN=Enabled) SMBus Alert pin (SMBA) supported
Trait Implementations§
impl Copy for ALERTEN_A
impl StructuralPartialEq for ALERTEN_A
Auto Trait Implementations§
impl RefUnwindSafe for ALERTEN_A
impl Send for ALERTEN_A
impl Sync for ALERTEN_A
impl Unpin for ALERTEN_A
impl UnwindSafe for ALERTEN_A
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