[−][src]Enum lpc55_pac::i2s0::cfg1::MSTSLVCFG_A
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
0: Normal slave mode, the default mode. SCK and WS are received from a master and used to transmit or receive data.
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.
2: Master using an existing SCK. SCK is received and used directly to generate WS, as well as transmitting or receiving data.
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][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,