pub type W = W<MEM_CONF_SPEC>;
Expand description
Register MEM_CONF
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn rx_size(&mut self) -> RX_SIZE_W<'_, MEM_CONF_SPEC>
pub fn rx_size(&mut self) -> RX_SIZE_W<'_, MEM_CONF_SPEC>
Bits 1:3 - This register is used to configure the amount of mem allocated for receive-FIFO. The default number is 128 bytes.
sourcepub fn tx_size(&mut self) -> TX_SIZE_W<'_, MEM_CONF_SPEC>
pub fn tx_size(&mut self) -> TX_SIZE_W<'_, MEM_CONF_SPEC>
Bits 4:6 - This register is used to configure the amount of mem allocated for transmit-FIFO. The default number is 128 bytes.
sourcepub fn rx_flow_thrhd(&mut self) -> RX_FLOW_THRHD_W<'_, MEM_CONF_SPEC>
pub fn rx_flow_thrhd(&mut self) -> RX_FLOW_THRHD_W<'_, MEM_CONF_SPEC>
Bits 7:15 - This register is used to configure the maximum amount of data that can be received when hardware flow control works.
sourcepub fn rx_tout_thrhd(&mut self) -> RX_TOUT_THRHD_W<'_, MEM_CONF_SPEC>
pub fn rx_tout_thrhd(&mut self) -> RX_TOUT_THRHD_W<'_, MEM_CONF_SPEC>
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.
sourcepub fn mem_force_pd(&mut self) -> MEM_FORCE_PD_W<'_, MEM_CONF_SPEC>
pub fn mem_force_pd(&mut self) -> MEM_FORCE_PD_W<'_, MEM_CONF_SPEC>
Bit 26 - Set this bit to force power down UART memory.
sourcepub fn mem_force_pu(&mut self) -> MEM_FORCE_PU_W<'_, MEM_CONF_SPEC>
pub fn mem_force_pu(&mut self) -> MEM_FORCE_PU_W<'_, MEM_CONF_SPEC>
Bit 27 - Set this bit to force power up UART memory.