[][src]Type Definition stm32wb_pac::sai1::acr1::W

type W = W<u32, ACR1>;

Writer for register ACR1

Implementations

impl W[src]

pub fn mcken(&mut self) -> MCKEN_W<'_>[src]

Bit 27 - Master clock generation enable

pub fn osr(&mut self) -> OSR_W<'_>[src]

Bit 26 - Oversampling ratio for master clock

pub fn mcjdiv(&mut self) -> MCJDIV_W<'_>[src]

Bits 20:25 - Master clock divider

pub fn nodiv(&mut self) -> NODIV_W<'_>[src]

Bit 19 - No divider

pub fn dmaen(&mut self) -> DMAEN_W<'_>[src]

Bit 17 - DMA enable

pub fn saiben(&mut self) -> SAIBEN_W<'_>[src]

Bit 16 - Audio block B enable

pub fn out_dri(&mut self) -> OUTDRI_W<'_>[src]

Bit 13 - Output drive

pub fn mono(&mut self) -> MONO_W<'_>[src]

Bit 12 - Mono mode

pub fn syncen(&mut self) -> SYNCEN_W<'_>[src]

Bits 10:11 - Synchronization enable

pub fn ckstr(&mut self) -> CKSTR_W<'_>[src]

Bit 9 - Clock strobing edge

pub fn lsbfirst(&mut self) -> LSBFIRST_W<'_>[src]

Bit 8 - Least significant bit first

pub fn ds(&mut self) -> DS_W<'_>[src]

Bits 5:7 - Data size

pub fn prtcfg(&mut self) -> PRTCFG_W<'_>[src]

Bits 2:3 - Protocol configuration

pub fn mode(&mut self) -> MODE_W<'_>[src]

Bits 0:1 - Audio block mode