[−][src]Enum lpc55s6x_pac::i2s0::cfg1::MSTSLVCFGR
Possible values of the field MSTSLVCFG
Variants
NORMAL_SLAVE_MODENormal slave mode, the default mode. SCK and WS are received from a master and used to transmit or receive data.
WS_SYNC_MASTERWS 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_SCKMaster using an existing SCK. SCK is received and used directly to generate WS, as well as transmitting or receiving data.
NORMAL_MASTERNormal 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]
fn eq(&self, other: &MSTSLVCFGR) -> bool[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl Copy for MSTSLVCFGR[src]
impl Debug for MSTSLVCFGR[src]
impl Clone for MSTSLVCFGR[src]
fn clone(&self) -> MSTSLVCFGR[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
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>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
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