[]Struct nucleo_f042k6::stm32::spi1::i2scfgr::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W

pub unsafe fn bits(&mut self, bits: u32) -> &mut W

Writes raw bits to the register

pub fn i2smod(&mut self) -> _I2SMODW

Bit 11 - I2S mode selection

pub fn i2se(&mut self) -> _I2SEW

Bit 10 - I2S Enable

pub fn i2scfg(&mut self) -> _I2SCFGW

Bits 8:9 - I2S configuration mode

pub fn pcmsync(&mut self) -> _PCMSYNCW

Bit 7 - PCM frame synchronization

pub fn i2sstd(&mut self) -> _I2SSTDW

Bits 4:5 - I2S standard selection

pub fn ckpol(&mut self) -> _CKPOLW

Bit 3 - Steady state clock polarity

pub fn datlen(&mut self) -> _DATLENW

Bits 1:2 - Data length to be transferred

pub fn chlen(&mut self) -> _CHLENW

Bit 0 - Channel length (number of bits per audio channel)

Auto Trait Implementations

impl Unpin for W

impl Sync for W

impl Send for W

Blanket Implementations

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> From<T> for 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

type Output = T

Should always be Self