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

#[repr(u8)]pub enum MSTSLVCFG_A {
    NORMAL_SLAVE_MODE,
    WS_SYNC_MASTER,
    MASTER_USING_SCK,
    NORMAL_MASTER,
}

Master / slave configuration selection, determining how SCK and WS are used by all channel pairs in this Flexcomm.

Value on reset: 0

Variants

NORMAL_SLAVE_MODE

0: Normal slave mode, the default mode. SCK and WS are received from a master and used to transmit or receive data.

WS_SYNC_MASTER

1: WS synchronized master. WS is received from another master and used to synchronize the generation of SCK, when divided from the Flexcomm function clock.

MASTER_USING_SCK

2: Master using an existing SCK. SCK is received and used directly to generate WS, as well as transmitting or receiving data.

NORMAL_MASTER

3: Normal master mode. SCK and WS are generated so they can be sent to one or more slave devices.

Trait Implementations

impl Clone for MSTSLVCFG_A[src]

impl Copy for MSTSLVCFG_A[src]

impl Debug for MSTSLVCFG_A[src]

impl From<MSTSLVCFG_A> for u8[src]

impl PartialEq<MSTSLVCFG_A> for MSTSLVCFG_A[src]

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