Enum stm32h7xx_hal::pac::i2c1::isr::BERR_A[][src]

pub enum BERR_A {
    NOERROR,
    ERROR,
}

Bus error This flag is set by hardware when a misplaced Start or Stop condition is detected whereas the peripheral is involved in the transfer. The flag is not set during the address phase in slave mode. It is cleared by software by setting BERRCF bit. Note: This bit is cleared by hardware when PE=0.

Value on reset: 0

Variants

NOERROR

0: No bus error

ERROR

1: Misplaced Start and Stop condition is detected

Trait Implementations

impl Clone for BERR_A[src]

impl Copy for BERR_A[src]

impl Debug for BERR_A[src]

impl PartialEq<BERR_A> for BERR_A[src]

impl StructuralPartialEq for BERR_A[src]

Auto Trait Implementations

impl Send for BERR_A

impl Sync for BERR_A

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