Struct esp32c2_hal::pac::uart0::status::R
pub struct R(_);
Expand description
Register STATUS
reader
Implementations§
§impl R
impl R
pub fn rxfifo_cnt(&self) -> FieldReaderRaw<u16, u16>
pub fn rxfifo_cnt(&self) -> FieldReaderRaw<u16, u16>
Bits 0:9 - Stores the byte number of valid data in Rx-FIFO.
pub fn dsrn(&self) -> BitReaderRaw<bool>
pub fn dsrn(&self) -> BitReaderRaw<bool>
Bit 13 - The register represent the level value of the internal uart dsr signal.
pub fn ctsn(&self) -> BitReaderRaw<bool>
pub fn ctsn(&self) -> BitReaderRaw<bool>
Bit 14 - This register represent the level value of the internal uart cts signal.
pub fn rxd(&self) -> BitReaderRaw<bool>
pub fn rxd(&self) -> BitReaderRaw<bool>
Bit 15 - This register represent the level value of the internal uart rxd signal.
pub fn txfifo_cnt(&self) -> FieldReaderRaw<u16, u16>
pub fn txfifo_cnt(&self) -> FieldReaderRaw<u16, u16>
Bits 16:25 - Stores the byte number of data in Tx-FIFO.
pub fn dtrn(&self) -> BitReaderRaw<bool>
pub fn dtrn(&self) -> BitReaderRaw<bool>
Bit 29 - This bit represents the level of the internal uart dtr signal.
Methods from Deref<Target = R<STATUS_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations§
§impl From<R<STATUS_SPEC>> for R
impl From<R<STATUS_SPEC>> for R
§fn from(reader: R<STATUS_SPEC>) -> R
fn from(reader: R<STATUS_SPEC>) -> R
Converts to this type from the input type.