[][src]Enum stm32f0xx_hal::stm32::i2c1::cr1::ALERTEN_A

pub enum ALERTEN_A {
    DISABLED,
    ENABLED,
}

SMBUS alert enable

Value on reset: 0

Variants

DISABLED

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: 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 Clone for ALERTEN_A[src]

impl Copy for ALERTEN_A[src]

impl Debug for ALERTEN_A[src]

impl PartialEq<ALERTEN_A> for ALERTEN_A[src]

Auto Trait Implementations

impl Send for ALERTEN_A

impl Sync for ALERTEN_A

impl Unpin for ALERTEN_A

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.