pub type UMSEL0_R = FieldReader<u8, UMSEL0_A>;
Expand description

Field UMSEL0 reader - USART Mode Select

Aliased Type§

struct UMSEL0_R { /* private fields */ }

Implementations§

source§

impl UMSEL0_R

source

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