Type Alias atsamd21g::sercom0::usart::ctrla::MODE_R

source ·
pub type MODE_R = FieldReader<MODESELECT_A>;
Expand description

Field MODE reader - Operating Mode

Aliased Type§

struct MODE_R { /* private fields */ }

Implementations§

source§

impl MODE_R

source

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

Get enumerated values variant

source

pub fn is_usart_ext_clk(&self) -> bool

USART mode with external clock

source

pub fn is_usart_int_clk(&self) -> bool

USART mode with internal clock

source

pub fn is_spi_slave(&self) -> bool

SPI mode with external clock

source

pub fn is_spi_master(&self) -> bool

SPI mode with internal clock

source

pub fn is_i2c_slave(&self) -> bool

I2C mode with external clock

source

pub fn is_i2c_master(&self) -> bool

I2C mode with internal clock