Type Alias esp32c3::uart0::mem_conf::R

source ·
pub type R = R<MEM_CONF_SPEC>;
Expand description

Register MEM_CONF reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn rx_size(&self) -> RX_SIZE_R

Bits 1:3 - This register is used to configure the amount of mem allocated for receive-FIFO. The default number is 128 bytes.

source

pub fn tx_size(&self) -> TX_SIZE_R

Bits 4:6 - This register is used to configure the amount of mem allocated for transmit-FIFO. The default number is 128 bytes.

source

pub fn rx_flow_thrhd(&self) -> RX_FLOW_THRHD_R

Bits 7:15 - This register is used to configure the maximum amount of data that can be received when hardware flow control works.

source

pub fn rx_tout_thrhd(&self) -> RX_TOUT_THRHD_R

Bits 16:25 - This register is used to configure the threshold time that receiver takes to receive one byte. The rxfifo_tout_int interrupt will be trigger when the receiver takes more time to receive one byte with rx_tout_en set to 1.

source

pub fn mem_force_pd(&self) -> MEM_FORCE_PD_R

Bit 26 - Set this bit to force power down UART memory.

source

pub fn mem_force_pu(&self) -> MEM_FORCE_PU_R

Bit 27 - Set this bit to force power up UART memory.