Type Alias esp32s2::uart0::status::R

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

Register STATUS reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn rxfifo_cnt(&self) -> RXFIFO_CNT_R

Bits 0:9 - Stores the number of valid data bytes in RX FIFO.

source

pub fn dsrn(&self) -> DSRN_R

Bit 13 - This register represents the level of the internal UART DSR signal.

source

pub fn ctsn(&self) -> CTSN_R

Bit 14 - This register represents the level of the internal UART CTS signal.

source

pub fn rxd(&self) -> RXD_R

Bit 15 - This register represents the level of the internal UART RXD signal.

source

pub fn txfifo_cnt(&self) -> TXFIFO_CNT_R

Bits 16:25 - Stores the number of data bytes in TX FIFO.

source

pub fn dtrn(&self) -> DTRN_R

Bit 29 - This bit represents the level of the internal UART DTR signal.

source

pub fn rtsn(&self) -> RTSN_R

Bit 30 - This bit represents the level of the internal UART RTS signal.

source

pub fn txd(&self) -> TXD_R

Bit 31 - This bit represents the level of the internal UART TXD signal.