[][src]Enum lpc54606_pac::i2c0::stat::MSTSTATE_A

#[repr(u8)]pub enum MSTSTATE_A {
    IDLE,
    RECEIVE_READY,
    TRANSMIT_READY,
    NACK_ADDRESS,
    NACK_DATA,
}

Master State code. The master state code reflects the master state when the MSTPENDING bit is set, that is the master is pending or in the idle state. Each value of this field indicates a specific required service for the Master function. All other values are reserved. See Table 400 for details of state values and appropriate responses.

Value on reset: 0

Variants

IDLE

0: Idle. The Master function is available to be used for a new transaction.

RECEIVE_READY

1: Receive ready. Received data available (Master Receiver mode). Address plus Read was previously sent and Acknowledged by slave.

TRANSMIT_READY

2: Transmit ready. Data can be transmitted (Master Transmitter mode). Address plus Write was previously sent and Acknowledged by slave.

NACK_ADDRESS

3: NACK Address. Slave NACKed address.

NACK_DATA

4: NACK Data. Slave NACKed transmitted data.

Trait Implementations

impl Clone for MSTSTATE_A[src]

impl Copy for MSTSTATE_A[src]

impl Debug for MSTSTATE_A[src]

impl From<MSTSTATE_A> for u8[src]

impl PartialEq<MSTSTATE_A> for MSTSTATE_A[src]

impl StructuralPartialEq for MSTSTATE_A[src]

Auto Trait Implementations

impl Send for MSTSTATE_A

impl Sync for MSTSTATE_A

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