[][src]Type Definition esp32::uart::uart_mem_conf_reg::W

type W = W<u32, UART_MEM_CONF_REG>;

Writer for register UART_MEM_CONF_REG

Methods

impl W[src]

pub fn uart_tx_mem_empty_thrhd(&mut self) -> UART_TX_MEM_EMPTY_THRHD_W[src]

Bits 28:30 - refer to txfifo_empty_thrhd 's describtion.

pub fn uart_rx_mem_full_thrhd(&mut self) -> UART_RX_MEM_FULL_THRHD_W[src]

Bits 25:27 - refer to the rxfifo_full_thrhd's describtion.

pub fn uart_xoff_threshold_h2(&mut self) -> UART_XOFF_THRESHOLD_H2_W[src]

Bits 23:24 - refer to the uart_xoff_threshold's describtion.

pub fn uart_xon_threshold_h2(&mut self) -> UART_XON_THRESHOLD_H2_W[src]

Bits 21:22 - refer to the uart_xon_threshold's describtion.

pub fn uart_rx_tout_thrhd_h3(&mut self) -> UART_RX_TOUT_THRHD_H3_W[src]

Bits 18:20 - refer to the rx_tout_thrhd's describtion.

pub fn uart_rx_flow_thrhd_h3(&mut self) -> UART_RX_FLOW_THRHD_H3_W[src]

Bits 15:17 - refer to the rx_flow_thrhd's describtion.

pub fn uart_tx_size(&mut self) -> UART_TX_SIZE_W[src]

Bits 7:10 - This register is used to configure the amount of mem allocated to transmitter's fifo.the default byte num is 128.

pub fn uart_rx_size(&mut self) -> UART_RX_SIZE_W[src]

Bits 3:6 - This register is used to configure the amount of mem allocated to receiver's fifo. the default byte num is 128.

pub fn uart_mem_pd(&mut self) -> UART_MEM_PD_W[src]

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.