Enum stm32h7xx_hal::pac::i2c1::cr1::PE_A[][src]

pub enum PE_A {
    DISABLED,
    ENABLED,
}

Peripheral enable Note: When PE=0, the I2C SCL and SDA lines are released. Internal state machines and status bits are put back to their reset value. When cleared, PE must be kept low for at least 3 APB clock cycles.

Value on reset: 0

Variants

DISABLED

0: Peripheral disabled

ENABLED

1: Peripheral enabled

Trait Implementations

impl Clone for PE_A[src]

impl Copy for PE_A[src]

impl Debug for PE_A[src]

impl PartialEq<PE_A> for PE_A[src]

impl StructuralPartialEq for PE_A[src]

Auto Trait Implementations

impl Send for PE_A

impl Sync for PE_A

impl Unpin for PE_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.