Enum stm32h7xx_hal::stm32::i2c1::isr::PECERR_A[][src]

pub enum PECERR_A {
    MATCH,
    NOMATCH,
}

PEC Error in reception This flag is set by hardware when the received PEC does not match with the PEC register content. A NACK is automatically sent after the wrong PEC reception. It is cleared by software by setting the PECCF 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

MATCH

0: Received PEC does match with PEC register

NOMATCH

1: Received PEC does not match with PEC register

Trait Implementations

impl Clone for PECERR_A[src]

impl Copy for PECERR_A[src]

impl Debug for PECERR_A[src]

impl PartialEq<PECERR_A> for PECERR_A[src]

impl StructuralPartialEq for PECERR_A[src]

Auto Trait Implementations

impl Send for PECERR_A

impl Sync for PECERR_A

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