pub type UMSEL1_R = FieldReader<u8, UMSEL1_A>;
Expand description

Field UMSEL1 reader - USART Mode Select

Aliased Type§

struct UMSEL1_R { /* private fields */ }

Implementations§

source§

impl UMSEL1_R

source

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

Get enumerated values variant

source

pub fn is_usart_async(&self) -> bool

Checks if the value of the field is USART_ASYNC

source

pub fn is_usart_sync(&self) -> bool

Checks if the value of the field is USART_SYNC

source

pub fn is_spi_master(&self) -> bool

Checks if the value of the field is SPI_MASTER