Type Definition stm32g4::stm32g431::sai::ch::cr1::W[][src]

type W = W<u32, CR1>;

Writer for register CR1

Implementations

impl W[src]

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

Bit 27 - MCKEN

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

Bit 26 - OSR

pub fn mckdiv(&mut self) -> MCKDIV_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 saien(&mut self) -> SAIEN_W<'_>[src]

Bit 16 - Audio block A enable

pub fn outdriv(&mut self) -> OUTDRIV_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