pub type CHMODE_W<'a, const O: u8> = FieldWriterSafe<'a, u32, USART_MODE_MR_SPEC, u8, CHMODESELECT_A, 2, O>;
Expand description

Field CHMODE writer - Channel Mode

Implementations§

source§

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

source

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

Normal Mode

source

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

Automatic Echo. Receiver input is connected to the TXD pin

source

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

Local Loopback. Transmitter output is connected to the Receiver Input

source

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

Remote Loopback. RXD pin is internally connected to the TXD pin