Type Alias esp32c3::uart0::swfc_conf1::W

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

Register SWFC_CONF1 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn xon_threshold(&mut self) -> XON_THRESHOLD_W<'_, SWFC_CONF1_SPEC>

Bits 0:8 - When the data amount in Rx-FIFO is less than this register value with uart_sw_flow_con_en set to 1, it will send a Xon char.

source

pub fn xon_char(&mut self) -> XON_CHAR_W<'_, SWFC_CONF1_SPEC>

Bits 9:16 - This register stores the Xon flow control char.