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

#[repr(u8)]
pub enum SLVSTATE_A {
    SLAVE_ADDRESS,
    SLAVE_RECEIVE,
    SLAVE_TRANSMIT,
}

Slave State code. Each value of this field indicates a specific required service for the Slave function. All other values are reserved. See Table 401 for state values and actions. note that the occurrence of some states and how they are handled are affected by DMA mode and Automatic Operation modes.

Value on reset: 0

Variants

SLAVE_ADDRESS

0: Slave address. Address plus R/W received. At least one of the four slave addresses has been matched by hardware.

SLAVE_RECEIVE

1: Slave receive. Received data is available (Slave Receiver mode).

SLAVE_TRANSMIT

2: Slave transmit. Data can be transmitted (Slave Transmitter mode).

Trait Implementations

impl Clone for SLVSTATE_A[src]

impl Copy for SLVSTATE_A[src]

impl Debug for SLVSTATE_A[src]

impl PartialEq<SLVSTATE_A> for SLVSTATE_A[src]

impl StructuralPartialEq for SLVSTATE_A[src]

Auto Trait Implementations

impl Send for SLVSTATE_A

impl Sync for SLVSTATE_A

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