[][src]Struct lpc55_pac::i2s0::cfg1::MSTSLVCFG_W

pub struct MSTSLVCFG_W<'a> { /* fields omitted */ }
[]

Write proxy for field MSTSLVCFG

Implementations

impl<'a> MSTSLVCFG_W<'a>[src][]

pub fn variant(self, variant: MSTSLVCFG_A) -> &'a mut W[src][]

Writes variant to the field

pub fn normal_slave_mode(self) -> &'a mut W[src][]

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

pub fn ws_sync_master(self) -> &'a mut W[src][]

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

pub fn master_using_sck(self) -> &'a mut W[src][]

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

pub fn normal_master(self) -> &'a mut W[src][]

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

pub fn bits(self, value: u8) -> &'a mut W[src][]

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for MSTSLVCFG_W<'a>

impl<'a> !Sync for MSTSLVCFG_W<'a>

impl<'a> Unpin for MSTSLVCFG_W<'a>

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

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.