[][src]Struct stm32f3::stm32f373::spi1::i2scfgr::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]

Writes raw bits to the register

pub fn i2smod(&mut self) -> _I2SMODW[src]

Bit 11 - I2S mode selection

pub fn i2se(&mut self) -> _I2SEW[src]

Bit 10 - I2S Enable

pub fn i2scfg(&mut self) -> _I2SCFGW[src]

Bits 8:9 - I2S configuration mode

pub fn pcmsync(&mut self) -> _PCMSYNCW[src]

Bit 7 - PCM frame synchronization

pub fn i2sstd(&mut self) -> _I2SSTDW[src]

Bits 4:5 - I2S standard selection

pub fn ckpol(&mut self) -> _CKPOLW[src]

Bit 3 - Steady state clock polarity

pub fn datlen(&mut self) -> _DATLENW[src]

Bits 1:2 - Data length to be transferred

pub fn chlen(&mut self) -> _CHLENW[src]

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