Type Alias xmc4300::usic0_ch0::ccr::ModeR

source ·
pub type ModeR = FieldReader<Mode>;
Expand description

Field MODE reader - Operating Mode

Aliased Type§

struct ModeR { /* private fields */ }

Implementations§

source§

impl ModeR

source

pub const fn variant(&self) -> Option<Mode>

Get enumerated values variant

source

pub fn is_value1(&self) -> bool

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

source

pub fn is_value2(&self) -> bool

The SSC (SPI) protocol is selected.

source

pub fn is_value3(&self) -> bool

The ASC (SCI, UART) protocol is selected.

source

pub fn is_value4(&self) -> bool

The IIS protocol is selected.

source

pub fn is_value5(&self) -> bool

The IIC protocol is selected.