[][src]Struct stm32wb_pac::sai1::bcr1::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

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

Writes raw bits to the register

pub fn mcken(&mut self) -> _MCKENW[src]

Bit 27 - Master clock generation enable

pub fn osr(&mut self) -> _OSRW[src]

Bit 26 - Oversampling ratio for master clock

pub fn mcjdiv(&mut self) -> _MCJDIVW[src]

Bits 20:25 - Master clock divider

pub fn nodiv(&mut self) -> _NODIVW[src]

Bit 19 - No divider

pub fn dmaen(&mut self) -> _DMAENW[src]

Bit 17 - DMA enable

pub fn saiben(&mut self) -> _SAIBENW[src]

Bit 16 - Audio block B enable

pub fn out_dri(&mut self) -> _OUTDRIW[src]

Bit 13 - Output drive

pub fn mono(&mut self) -> _MONOW[src]

Bit 12 - Mono mode

pub fn syncen(&mut self) -> _SYNCENW[src]

Bits 10:11 - Synchronization enable

pub fn ckstr(&mut self) -> _CKSTRW[src]

Bit 9 - Clock strobing edge

pub fn lsbfirst(&mut self) -> _LSBFIRSTW[src]

Bit 8 - Least significant bit first

pub fn ds(&mut self) -> _DSW[src]

Bits 5:7 - Data size

pub fn prtcfg(&mut self) -> _PRTCFGW[src]

Bits 2:3 - Protocol configuration

pub fn mode(&mut self) -> _MODEW[src]

Bits 0:1 - Audio block mode

Auto Trait Implementations

impl Send for W

impl Sync for W

impl Unpin 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