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
impl MODE_R
sourcepub const fn variant(&self) -> Option<MODESELECT_A>
pub const fn variant(&self) -> Option<MODESELECT_A>
Get enumerated values variant
sourcepub fn is_usart_ext_clk(&self) -> bool
pub fn is_usart_ext_clk(&self) -> bool
USART with external clock
sourcepub fn is_usart_int_clk(&self) -> bool
pub fn is_usart_int_clk(&self) -> bool
USART with internal clock
sourcepub fn is_spi_slave(&self) -> bool
pub fn is_spi_slave(&self) -> bool
SPI in slave operation
sourcepub fn is_spi_master(&self) -> bool
pub fn is_spi_master(&self) -> bool
SPI in master operation
sourcepub fn is_i2c_slave(&self) -> bool
pub fn is_i2c_slave(&self) -> bool
I2C slave operation
sourcepub fn is_i2c_master(&self) -> bool
pub fn is_i2c_master(&self) -> bool
I2C master operation