Type Definition atsam4n8c_pac::usart2::mr::USART_MODE_R

source ·
pub type USART_MODE_R = FieldReader<u8, USART_MODE_A>;
Expand description

Field USART_MODE reader - USART Mode of Operation

Implementations§

source§

impl USART_MODE_R

source

pub fn variant(&self) -> Option<USART_MODE_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_hw_handshaking(&self) -> bool

Checks if the value of the field is HW_HANDSHAKING

source

pub fn is_is07816_t_0(&self) -> bool

Checks if the value of the field is IS07816_T_0

source

pub fn is_is07816_t_1(&self) -> bool

Checks if the value of the field is IS07816_T_1

source

pub fn is_irda(&self) -> bool

Checks if the value of the field is IRDA

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