pub type UMSEL2_R = FieldReader<u8, UMSEL2_A>;
Expand description

Field UMSEL2 reader - USART Mode Select

Aliased Type§

struct UMSEL2_R { /* private fields */ }

Implementations§

source§

impl UMSEL2_R

source

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