Type Alias esp32s2::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 number of data bytes in RX FIFO is more than this register’s value with UART_SW_FLOW_CON_EN set to 1, the transmitter sends an XOFF character.

source

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

Bits 9:16 - This register stores the XOFF flow control character.