[]Struct stm32f407g_disc::sai1::sai_bcr1::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W

pub fn reset_value() -> W

Reset value of the register

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

Writes raw bits to the register

pub fn mode(&mut self) -> _MODEW

Bits 0:1 - Audio block mode

pub fn prtcfg(&mut self) -> _PRTCFGW

Bits 2:3 - Protocol configuration

pub fn ds(&mut self) -> _DSW

Bits 5:7 - Data size

pub fn lsbfirst(&mut self) -> _LSBFIRSTW

Bit 8 - Least significant bit first

pub fn ckstr(&mut self) -> _CKSTRW

Bit 9 - Clock strobing edge

pub fn syncen(&mut self) -> _SYNCENW

Bits 10:11 - Synchronization enable

pub fn mono(&mut self) -> _MONOW

Bit 12 - Mono mode

pub fn outdriv(&mut self) -> _OUTDRIVW

Bit 13 - Output drive

pub fn saiben(&mut self) -> _SAIBENW

Bit 16 - Audio block enable

pub fn dmaen(&mut self) -> _DMAENW

Bit 17 - DMA enable

pub fn nodiv(&mut self) -> _NODIVW

Bit 19 - No divider

pub fn mckdiv(&mut self) -> _MCKDIVW

Bits 20:23 - Master clock divider

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto 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, U> Into for T where
    U: From<T>, 
[src]

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

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

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