[][src]Enum lpc54606_pac::i2s0::cfg1::DATAPAUSE_A

pub enum DATAPAUSE_A {
    NORMAL,
    PAUSE,
}

Data flow Pause. Allows pausing data flow between the I2S serializer/deserializer and the FIFO. This could be done in order to change streams, or while restarting after a data underflow or overflow. When paused, FIFO operations can be done without corrupting data that is in the process of being sent or received. Once a data pause has been requested, the interface may need to complete sending data that was in progress before interrupting the flow of data. Software must check that the pause is actually in effect before taking action. This is done by monitoring the DATAPAUSED flag in the STAT register. When DATAPAUSE is cleared, data transfer will resume at the beginning of the next frame.

Value on reset: 0

Variants

NORMAL

0: Normal operation, or resuming normal operation at the next frame if the I2S has already been paused.

PAUSE

1: A pause in the data flow is being requested. It is in effect when DATAPAUSED in STAT = 1.

Trait Implementations

impl Clone for DATAPAUSE_A[src]

impl Copy for DATAPAUSE_A[src]

impl Debug for DATAPAUSE_A[src]

impl From<DATAPAUSE_A> for bool[src]

impl PartialEq<DATAPAUSE_A> for DATAPAUSE_A[src]

impl StructuralPartialEq for DATAPAUSE_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.