Struct esp32s3_hal::pac::uart0::conf1::W
pub struct W(_);
Expand description
Register CONF1
writer
Implementations§
§impl W
impl W
pub fn rxfifo_full_thrhd(
&mut self
) -> FieldWriterRaw<'_, u32, CONF1_SPEC, u16, u16, Unsafe, 10, 0>
pub fn rxfifo_full_thrhd(
&mut self
) -> FieldWriterRaw<'_, u32, CONF1_SPEC, u16, u16, Unsafe, 10, 0>
Bits 0:9 - It will produce rxfifo_full_int interrupt when receiver receives more data than this register value.
pub fn txfifo_empty_thrhd(
&mut self
) -> FieldWriterRaw<'_, u32, CONF1_SPEC, u16, u16, Unsafe, 10, 10>
pub fn txfifo_empty_thrhd(
&mut self
) -> FieldWriterRaw<'_, u32, CONF1_SPEC, u16, u16, Unsafe, 10, 10>
Bits 10:19 - 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(
&mut self
) -> BitWriterRaw<'_, u32, CONF1_SPEC, bool, BitM, 20>
pub fn dis_rx_dat_ovf(
&mut self
) -> BitWriterRaw<'_, u32, CONF1_SPEC, bool, BitM, 20>
Bit 20 - Disable UART Rx data overflow detect.
pub fn rx_tout_flow_dis(
&mut self
) -> BitWriterRaw<'_, u32, CONF1_SPEC, bool, BitM, 21>
pub fn rx_tout_flow_dis(
&mut self
) -> BitWriterRaw<'_, u32, CONF1_SPEC, bool, BitM, 21>
Bit 21 - Set this bit to stop accumulating idle_cnt when hardware flow control works.
pub fn rx_flow_en(
&mut self
) -> BitWriterRaw<'_, u32, CONF1_SPEC, bool, BitM, 22>
pub fn rx_flow_en(
&mut self
) -> BitWriterRaw<'_, u32, CONF1_SPEC, bool, BitM, 22>
Bit 22 - This is the flow enable bit for UART receiver.
pub fn rx_tout_en(
&mut self
) -> BitWriterRaw<'_, u32, CONF1_SPEC, bool, BitM, 23>
pub fn rx_tout_en(
&mut self
) -> BitWriterRaw<'_, u32, CONF1_SPEC, bool, BitM, 23>
Bit 23 - This is the enble bit for uart receiver’s timeout function.
Methods from Deref<Target = W<CONF1_SPEC>>§
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Safety
Read datasheet or reference manual to find what values are allowed to pass.
Trait Implementations§
§impl From<W<CONF1_SPEC>> for W
impl From<W<CONF1_SPEC>> for W
§fn from(writer: W<CONF1_SPEC>) -> W
fn from(writer: W<CONF1_SPEC>) -> W
Converts to this type from the input type.