Type Alias xmc4400::usic0_ch0::ccr::MODE_W

source ·
pub type MODE_W<'a, REG> = FieldWriter<'a, REG, 4, MODE_A>;
Expand description

Field MODE writer - Operating Mode

Aliased Type§

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

Implementations§

source§

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

source

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

The USIC channel is disabled. All protocol-related state machines are set to an idle state.

source

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

The SSC (SPI) protocol is selected.

source

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

The ASC (SCI, UART) protocol is selected.

source

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

The IIS protocol is selected.

source

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

The IIC protocol is selected.