pub struct W(_);Expand description
Register MEM_CONF writer
Implementations§
source§impl W
impl W
sourcepub fn mem_pd(&mut self) -> MEM_PD_W<'_, 0>
pub fn mem_pd(&mut self) -> MEM_PD_W<'_, 0>
Bit 0 - Set this bit to power down mem.when reg_mem_pd registers in the 3 uarts are all set to 1 mem will enter low power mode.
sourcepub fn rx_size(&mut self) -> RX_SIZE_W<'_, 3>
pub fn rx_size(&mut self) -> RX_SIZE_W<'_, 3>
Bits 3:6 - This register is used to configure the amount of mem allocated to receiver’s fifo. the default byte num is 128.
sourcepub fn tx_size(&mut self) -> TX_SIZE_W<'_, 7>
pub fn tx_size(&mut self) -> TX_SIZE_W<'_, 7>
Bits 7:10 - This register is used to configure the amount of mem allocated to transmitter’s fifo.the default byte num is 128.
sourcepub fn rx_flow_thrhd_h3(&mut self) -> RX_FLOW_THRHD_H3_W<'_, 15>
pub fn rx_flow_thrhd_h3(&mut self) -> RX_FLOW_THRHD_H3_W<'_, 15>
Bits 15:17 - refer to the rx_flow_thrhd’s describtion.
sourcepub fn rx_tout_thrhd_h3(&mut self) -> RX_TOUT_THRHD_H3_W<'_, 18>
pub fn rx_tout_thrhd_h3(&mut self) -> RX_TOUT_THRHD_H3_W<'_, 18>
Bits 18:20 - refer to the rx_tout_thrhd’s describtion.
sourcepub fn xon_threshold_h2(&mut self) -> XON_THRESHOLD_H2_W<'_, 21>
pub fn xon_threshold_h2(&mut self) -> XON_THRESHOLD_H2_W<'_, 21>
Bits 21:22 - refer to the uart_xon_threshold’s describtion.
sourcepub fn xoff_threshold_h2(&mut self) -> XOFF_THRESHOLD_H2_W<'_, 23>
pub fn xoff_threshold_h2(&mut self) -> XOFF_THRESHOLD_H2_W<'_, 23>
Bits 23:24 - refer to the uart_xoff_threshold’s describtion.
sourcepub fn rx_mem_full_thrhd(&mut self) -> RX_MEM_FULL_THRHD_W<'_, 25>
pub fn rx_mem_full_thrhd(&mut self) -> RX_MEM_FULL_THRHD_W<'_, 25>
Bits 25:27 - refer to the rxfifo_full_thrhd’s describtion.
sourcepub fn tx_mem_empty_thrhd(&mut self) -> TX_MEM_EMPTY_THRHD_W<'_, 28>
pub fn tx_mem_empty_thrhd(&mut self) -> TX_MEM_EMPTY_THRHD_W<'_, 28>
Bits 28:30 - refer to txfifo_empty_thrhd ’s describtion.