Enum lpc55_pac::i2c0::stat::SLVSEL_A[][src]

pub enum SLVSEL_A {
    NOT_SELECTED,
    SELECTED,
}

Slave selected flag. SLVSEL is set after an address match when software tells the Slave function to acknowledge the address, or when the address has been automatically acknowledged. It is cleared when another address cycle presents an address that does not match an enabled address on the Slave function, when slave software decides to NACK a matched address, when there is a Stop detected on the bus, when the master NACKs slave data, and in some combinations of Automatic Operation. SLVSEL is not cleared if software NACKs data.

Value on reset: 0

Variants

NOT_SELECTED

0: Not selected. The Slave function is not currently selected.

SELECTED

1: Selected. The Slave function is currently selected.

Trait Implementations

impl Clone for SLVSEL_A[src]

impl Copy for SLVSEL_A[src]

impl Debug for SLVSEL_A[src]

impl PartialEq<SLVSEL_A> for SLVSEL_A[src]

impl StructuralPartialEq for SLVSEL_A[src]

Auto Trait Implementations

impl Send for SLVSEL_A

impl Sync for SLVSEL_A

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