Type Definition atsam4n8c_pac::usart2::mr::USART_MODE_W

source ·
pub type USART_MODE_W<'a, const O: u8> = FieldWriter<'a, u32, MR_SPEC, u8, USART_MODE_A, 4, O>;
Expand description

Field USART_MODE writer - USART Mode of Operation

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 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 spi_master(self) -> &'a mut W

SPI Master

source

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

SPI Slave