[][src]Struct stm32l4xx_hal::stm32::sai1::acr1::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 W[src]

Writes raw bits to the register

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

Bits 20:23 - 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 saiaen(&mut self) -> _SAIAENW[src]

Bit 16 - Audio block A 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

Blanket Implementations

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

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

🔬 This is a nightly-only experimental API. (try_from)

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]

impl<T> Same for T

type Output = T

Should always be Self