Type Alias esp32c3::uart0::flow_conf::W

source ·
pub type W = W<FLOW_CONF_SPEC>;
Expand description

Register FLOW_CONF writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn sw_flow_con_en(&mut self) -> SW_FLOW_CON_EN_W<'_, FLOW_CONF_SPEC>

Bit 0 - Set this bit to enable software flow control. It is used with register sw_xon or sw_xoff.

source

pub fn xonoff_del(&mut self) -> XONOFF_DEL_W<'_, FLOW_CONF_SPEC>

Bit 1 - Set this bit to remove flow control char from the received data.

source

pub fn force_xon(&mut self) -> FORCE_XON_W<'_, FLOW_CONF_SPEC>

Bit 2 - Set this bit to enable the transmitter to go on sending data.

source

pub fn force_xoff(&mut self) -> FORCE_XOFF_W<'_, FLOW_CONF_SPEC>

Bit 3 - Set this bit to stop the transmitter from sending data.

source

pub fn send_xon(&mut self) -> SEND_XON_W<'_, FLOW_CONF_SPEC>

Bit 4 - Set this bit to send Xon char. It is cleared by hardware automatically.

source

pub fn send_xoff(&mut self) -> SEND_XOFF_W<'_, FLOW_CONF_SPEC>

Bit 5 - Set this bit to send Xoff char. It is cleared by hardware automatically.