pub type USART_MODE_W<'a, const O: u8> = FieldWriter<'a, US_MR_SPI_MODE_SPEC, 4, O, USART_MODESELECT_A>;
Expand description

Field USART_MODE writer - USART Mode of Operation

Aliased Type§

struct USART_MODE_W<'a, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, const O: u8> USART_MODE_W<'a, O>

source

pub fn normal(self) -> &'a mut W

Normal mode

source

pub fn rs485(self) -> &'a mut W

RS485

source

pub fn hw_handshaking(self) -> &'a mut W

Hardware handshaking

source

pub fn modem(self) -> &'a mut W

Modem

source

pub fn is07816_t_0(self) -> &'a mut W

IS07816 Protocol: T = 0

source

pub fn is07816_t_1(self) -> &'a mut W

IS07816 Protocol: T = 1

source

pub fn irda(self) -> &'a mut W

IrDA

source

pub fn lon(self) -> &'a mut W

LON

source

pub fn lin_master(self) -> &'a mut W

LIN Master mode

source

pub fn lin_slave(self) -> &'a mut W

LIN Slave mode

source

pub fn spi_master(self) -> &'a mut W

SPI Master mode (CLKO must be written to 1 and USCLKS = 0, 1 or 2)

source

pub fn spi_slave(self) -> &'a mut W

SPI Slave mode