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

pub enum MSTPENDING_A {
    IN_PROGRESS,
    PENDING,
}

Master Pending. Indicates that the Master is waiting to continue communication on the I2C-bus (pending) or is idle. When the master is pending, the MSTSTATE bits indicate what type of software service if any the master expects. This flag will cause an interrupt when set if, enabled via the INTENSET register. The MSTPENDING flag is not set when the DMA is handling an event (if the MSTDMA bit in the MSTCTL register is set). If the master is in the idle state, and no communication is needed, mask this interrupt.

Value on reset: 1

Variants

IN_PROGRESS

0: In progress. Communication is in progress and the Master function is busy and cannot currently accept a command.

PENDING

1: Pending. The Master function needs software service or is in the idle state. If the master is not in the idle state, it is waiting to receive or transmit data or the NACK bit.

Trait Implementations

impl Clone for MSTPENDING_A[src]

impl Copy for MSTPENDING_A[src]

impl Debug for MSTPENDING_A[src]

impl From<MSTPENDING_A> for bool[src]

impl PartialEq<MSTPENDING_A> for MSTPENDING_A[src]

impl StructuralPartialEq for MSTPENDING_A[src]

Auto Trait Implementations

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.