Type Definition gd32f1::gd32f130::spi0::i2sctl::W[][src]

type W = W<u16, I2SCTL>;

Writer for register I2SCTL

Implementations

impl W[src]

pub fn i2ssel(&mut self) -> I2SSEL_W<'_>[src]

Bit 11 - I2S mode selection

pub fn i2sen(&mut self) -> I2SEN_W<'_>[src]

Bit 10 - I2S Enable

pub fn i2sopmod(&mut self) -> I2SOPMOD_W<'_>[src]

Bits 8:9 - I2S configuration mode

pub fn pcmsmod(&mut self) -> PCMSMOD_W<'_>[src]

Bit 7 - PCM frame synchronization mode

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

Bits 4:5 - I2S standard selection

pub fn ckpl(&mut self) -> CKPL_W<'_>[src]

Bit 3 - Idle state clock polarity

pub fn dtlen(&mut self) -> DTLEN_W<'_>[src]

Bits 1:2 - Data length

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

Bit 0 - Channel length