[−][src]Enum lpc55s6x_pac::i2s0::cfg1::MSTSLVCFGR
Possible values of the field MSTSLVCFG
Variants
NORMAL_SLAVE_MODE
Normal slave mode, the default mode. SCK and WS are received from a master and used to transmit or receive data.
WS_SYNC_MASTER
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
Master using an existing SCK. SCK is received and used directly to generate WS, as well as transmitting or receiving data.
NORMAL_MASTER
Normal master mode. SCK and WS are generated so they can be sent to one or more slave devices.
Methods
impl MSTSLVCFGR
[src][−]
pub fn bits(&self) -> u8
[src][−]
Value of the field as raw bits
pub fn is_normal_slave_mode(&self) -> bool
[src][−]
Checks if the value of the field is NORMAL_SLAVE_MODE
pub fn is_ws_sync_master(&self) -> bool
[src][−]
Checks if the value of the field is WS_SYNC_MASTER
pub fn is_master_using_sck(&self) -> bool
[src][−]
Checks if the value of the field is MASTER_USING_SCK
pub fn is_normal_master(&self) -> bool
[src][−]
Checks if the value of the field is NORMAL_MASTER
Trait Implementations
impl PartialEq<MSTSLVCFGR> for MSTSLVCFGR
[src][+]
impl Copy for MSTSLVCFGR
[src]
impl Debug for MSTSLVCFGR
[src][+]
impl Clone for MSTSLVCFGR
[src][+]
Auto Trait Implementations
impl Send for MSTSLVCFGR
impl Sync for MSTSLVCFGR
Blanket Implementations
impl<T> From<T> for T
[src][+]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
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> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self