Type Alias gd32f1::gd32f190::spi0::i2sctl::I2sopmodW

source ·
pub type I2sopmodW<'a, REG> = FieldWriterSafe<'a, REG, 2, I2sopmod>;
Expand description

Field I2SOPMOD writer - I2S configuration mode

Aliased Type§

struct I2sopmodW<'a, REG> { /* private fields */ }

Implementations§

source§

impl<'a, REG> I2sopmodW<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

pub fn slave_tx(self) -> &'a mut W<REG>

Slave - transmit

source

pub fn slave_rx(self) -> &'a mut W<REG>

Slave - receive

source

pub fn master_tx(self) -> &'a mut W<REG>

Master - transmit

source

pub fn master_rx(self) -> &'a mut W<REG>

Master - receive