Struct esp32c2_hal::pac::uart0::conf1::R
pub struct R(_);
Expand description
Register CONF1
reader
Implementations§
§impl R
impl R
pub fn rxfifo_full_thrhd(&self) -> FieldReaderRaw<u16, u16>
pub fn rxfifo_full_thrhd(&self) -> FieldReaderRaw<u16, u16>
Bits 0:8 - It will produce rxfifo_full_int interrupt when receiver receives more data than this register value.
pub fn txfifo_empty_thrhd(&self) -> FieldReaderRaw<u16, u16>
pub fn txfifo_empty_thrhd(&self) -> FieldReaderRaw<u16, u16>
Bits 9:17 - It will produce txfifo_empty_int interrupt when the data amount in Tx-FIFO is less than this register value.
pub fn dis_rx_dat_ovf(&self) -> BitReaderRaw<bool>
pub fn dis_rx_dat_ovf(&self) -> BitReaderRaw<bool>
Bit 18 - Disable UART Rx data overflow detect.
pub fn rx_tout_flow_dis(&self) -> BitReaderRaw<bool>
pub fn rx_tout_flow_dis(&self) -> BitReaderRaw<bool>
Bit 19 - Set this bit to stop accumulating idle_cnt when hardware flow control works.
pub fn rx_flow_en(&self) -> BitReaderRaw<bool>
pub fn rx_flow_en(&self) -> BitReaderRaw<bool>
Bit 20 - This is the flow enable bit for UART receiver.
pub fn rx_tout_en(&self) -> BitReaderRaw<bool>
pub fn rx_tout_en(&self) -> BitReaderRaw<bool>
Bit 21 - This is the enble bit for uart receiver’s timeout function.
Methods from Deref<Target = R<CONF1_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<CONF1_SPEC>> for R
impl From<R<CONF1_SPEC>> for R
§fn from(reader: R<CONF1_SPEC>) -> R
fn from(reader: R<CONF1_SPEC>) -> R
Converts to this type from the input type.