[][src]Enum lpc55s6x_pac::i2s0::cfg1::MSTSLVCFGR

pub enum MSTSLVCFGR {
    NORMAL_SLAVE_MODE,
    WS_SYNC_MASTER,
    MASTER_USING_SCK,
    NORMAL_MASTER,
}
[]

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][+]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src][]

This method tests for !=.

impl Copy for MSTSLVCFGR[src]

impl Debug for MSTSLVCFGR[src][+]

impl Clone for 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][+]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src][+]

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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src][+]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src][+]

impl<T> Any for T where
    T: 'static + ?Sized
[src][+]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self