Type Alias gd32f1::gd32f130::spi0::i2sctl::W

source ·
pub type W = W<I2sctlSpec>;
Expand description

Register I2SCTL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn chlen(&mut self) -> ChlenW<'_, I2sctlSpec>

Bit 0 - Channel length

source

pub fn dtlen(&mut self) -> DtlenW<'_, I2sctlSpec>

Bits 1:2 - Data length

source

pub fn ckpl(&mut self) -> CkplW<'_, I2sctlSpec>

Bit 3 - Idle state clock polarity

source

pub fn i2sstd(&mut self) -> I2sstdW<'_, I2sctlSpec>

Bits 4:5 - I2S standard selection

source

pub fn pcmsmod(&mut self) -> PcmsmodW<'_, I2sctlSpec>

Bit 7 - PCM frame synchronization mode

source

pub fn i2sopmod(&mut self) -> I2sopmodW<'_, I2sctlSpec>

Bits 8:9 - I2S configuration mode

source

pub fn i2sen(&mut self) -> I2senW<'_, I2sctlSpec>

Bit 10 - I2S Enable

source

pub fn i2ssel(&mut self) -> I2sselW<'_, I2sctlSpec>

Bit 11 - I2S mode selection