Type Definition atsam4ls8b_pac::usart0::usart_mode_mr::MODE_R

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

Field MODE reader - Usart Mode

Implementations§

source§

impl MODE_R

source

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

Get enumerated values variant

source

pub fn is_normal(&self) -> bool

Checks if the value of the field is NORMAL

source

pub fn is_rs485(&self) -> bool

Checks if the value of the field is RS485

source

pub fn is_hardware(&self) -> bool

Checks if the value of the field is HARDWARE

source

pub fn is_modem(&self) -> bool

Checks if the value of the field is MODEM

source

pub fn is_iso7816_t0(&self) -> bool

Checks if the value of the field is ISO7816_T0

source

pub fn is_iso7816_t1(&self) -> bool

Checks if the value of the field is ISO7816_T1

source

pub fn is_irda(&self) -> bool

Checks if the value of the field is IRDA

source

pub fn is_lin_master(&self) -> bool

Checks if the value of the field is LIN_MASTER

source

pub fn is_lin_slave(&self) -> bool

Checks if the value of the field is LIN_SLAVE

source

pub fn is_spi_master(&self) -> bool

Checks if the value of the field is SPI_MASTER

source

pub fn is_spi_slave(&self) -> bool

Checks if the value of the field is SPI_SLAVE