Type Alias esp32c3::uart0::swfc_conf0::W

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

Register SWFC_CONF0 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn xoff_threshold(&mut self) -> XOFF_THRESHOLD_W<'_, SWFC_CONF0_SPEC>

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

source

pub fn xoff_char(&mut self) -> XOFF_CHAR_W<'_, SWFC_CONF0_SPEC>

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