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_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