Type Alias atsame54n::sercom0::spim::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 with external clock

source

pub fn is_usart_int_clk(&self) -> bool

USART with internal clock

source

pub fn is_spi_slave(&self) -> bool

SPI in slave operation

source

pub fn is_spi_master(&self) -> bool

SPI in master operation

source

pub fn is_i2c_slave(&self) -> bool

I2C slave operation

source

pub fn is_i2c_master(&self) -> bool

I2C master operation