Type Definition stm32g0::stm32g030::spi1::i2scfgr::W[][src]

type W = W<u32, I2SCFGR>;

Writer for register I2SCFGR

Implementations

impl W[src]

pub fn chlen(&mut self) -> CHLEN_W<'_>[src]

Bit 0 - Channel length (number of bits per audio channel)

pub fn datlen(&mut self) -> DATLEN_W<'_>[src]

Bits 1:2 - Data length to be transferred

pub fn ckpol(&mut self) -> CKPOL_W<'_>[src]

Bit 3 - Inactive state clock polarity

pub fn i2sstd(&mut self) -> I2SSTD_W<'_>[src]

Bits 4:5 - standard selection

pub fn pcmsync(&mut self) -> PCMSYNC_W<'_>[src]

Bit 7 - PCM frame synchronization

pub fn i2scfg(&mut self) -> I2SCFG_W<'_>[src]

Bits 8:9 - I2S configuration mode

pub fn se2(&mut self) -> SE2_W<'_>[src]

Bit 10 - I2S enable

pub fn i2smod(&mut self) -> I2SMOD_W<'_>[src]

Bit 11 - I2S mode selection