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

type W = W<u32, UART_STATUS_REG>;

Writer for register UART_STATUS_REG

Methods

impl W[src]

pub fn uart_txd(&mut self) -> UART_TXD_W[src]

Bit 31 - This register represent the level value of the internal uart rxd signal.

pub fn uart_rtsn(&mut self) -> UART_RTSN_W[src]

Bit 30 - This register represent the level value of the internal uart cts signal.

pub fn uart_dtrn(&mut self) -> UART_DTRN_W[src]

Bit 29 - The register represent the level value of the internal uart dsr signal.

pub fn uart_st_utx_out(&mut self) -> UART_ST_UTX_OUT_W[src]

Bits 24:27 - This register stores the value of transmitter's finite state machine. 0:TX_IDLE 1:TX_STRT 2:TX_DAT0 3:TX_DAT1 4:TX_DAT2 5:TX_DAT3 6:TX_DAT4 7:TX_DAT5 8:TX_DAT6 9:TX_DAT7 10:TX_PRTY 11:TX_STP1 12:TX_STP2 13:TX_DL0 14:TX_DL1

pub fn uart_txfifo_cnt(&mut self) -> UART_TXFIFO_CNT_W[src]

Bits 16:23 - (tx_mem_cnt txfifo_cnt) stores the byte num of valid datas in transmitter's fifo.tx_mem_cnt stores the 3 most significant bits txfifo_cnt stores the 8 least significant bits.

pub fn uart_rxd(&mut self) -> UART_RXD_W[src]

Bit 15 - This register stores the level value of the internal uart rxd signal.

pub fn uart_ctsn(&mut self) -> UART_CTSN_W[src]

Bit 14 - This register stores the level value of the internal uart cts signal.

pub fn uart_dsrn(&mut self) -> UART_DSRN_W[src]

Bit 13 - This register stores the level value of the internal uart dsr signal.

pub fn uart_st_urx_out(&mut self) -> UART_ST_URX_OUT_W[src]

Bits 8:11 - This register stores the value of receiver's finite state machine. 0:RX_IDLE 1:RX_STRT 2:RX_DAT0 3:RX_DAT1 4:RX_DAT2 5:RX_DAT3 6:RX_DAT4 7:RX_DAT5 8:RX_DAT6 9:RX_DAT7 10:RX_PRTY 11:RX_STP1 12:RX_STP2 13:RX_DL1

pub fn uart_rxfifo_cnt(&mut self) -> UART_RXFIFO_CNT_W[src]

Bits 0:7 - (rx_mem_cnt rxfifo_cnt) stores the byte num of valid datas in receiver's fifo. rx_mem_cnt register stores the 3 most significant bits rxfifo_cnt stores the 8 least significant bits.