Struct esp32_hal::pac::uhci0::escape_conf::W
pub struct W(_);
Expand description
Register ESCAPE_CONF
writer
Implementations§
§impl W
impl W
pub fn tx_c0_esc_en(
&mut self
) -> BitWriterRaw<'_, u32, ESCAPE_CONF_SPEC, bool, BitM, 0>
pub fn tx_c0_esc_en(
&mut self
) -> BitWriterRaw<'_, u32, ESCAPE_CONF_SPEC, bool, BitM, 0>
Bit 0 - Set this bit to enable 0xc0 char decode when DMA receives data.
pub fn tx_db_esc_en(
&mut self
) -> BitWriterRaw<'_, u32, ESCAPE_CONF_SPEC, bool, BitM, 1>
pub fn tx_db_esc_en(
&mut self
) -> BitWriterRaw<'_, u32, ESCAPE_CONF_SPEC, bool, BitM, 1>
Bit 1 - Set this bit to enable 0xdb char decode when DMA receives data.
pub fn tx_11_esc_en(
&mut self
) -> BitWriterRaw<'_, u32, ESCAPE_CONF_SPEC, bool, BitM, 2>
pub fn tx_11_esc_en(
&mut self
) -> BitWriterRaw<'_, u32, ESCAPE_CONF_SPEC, bool, BitM, 2>
Bit 2 - Set this bit to enable flow control char 0x11 decode when DMA receives data.
pub fn tx_13_esc_en(
&mut self
) -> BitWriterRaw<'_, u32, ESCAPE_CONF_SPEC, bool, BitM, 3>
pub fn tx_13_esc_en(
&mut self
) -> BitWriterRaw<'_, u32, ESCAPE_CONF_SPEC, bool, BitM, 3>
Bit 3 - Set this bit to enable flow control char 0x13 decode when DMA receives data.
pub fn rx_c0_esc_en(
&mut self
) -> BitWriterRaw<'_, u32, ESCAPE_CONF_SPEC, bool, BitM, 4>
pub fn rx_c0_esc_en(
&mut self
) -> BitWriterRaw<'_, u32, ESCAPE_CONF_SPEC, bool, BitM, 4>
Bit 4 - Set this bit to enable 0xc0 char replace when DMA sends data.
pub fn rx_db_esc_en(
&mut self
) -> BitWriterRaw<'_, u32, ESCAPE_CONF_SPEC, bool, BitM, 5>
pub fn rx_db_esc_en(
&mut self
) -> BitWriterRaw<'_, u32, ESCAPE_CONF_SPEC, bool, BitM, 5>
Bit 5 - Set this bit to enable 0xdb char replace when DMA sends data.
pub fn rx_11_esc_en(
&mut self
) -> BitWriterRaw<'_, u32, ESCAPE_CONF_SPEC, bool, BitM, 6>
pub fn rx_11_esc_en(
&mut self
) -> BitWriterRaw<'_, u32, ESCAPE_CONF_SPEC, bool, BitM, 6>
Bit 6 - Set this bit to enable flow control char 0x11 replace when DMA sends data.
pub fn rx_13_esc_en(
&mut self
) -> BitWriterRaw<'_, u32, ESCAPE_CONF_SPEC, bool, BitM, 7>
pub fn rx_13_esc_en(
&mut self
) -> BitWriterRaw<'_, u32, ESCAPE_CONF_SPEC, bool, BitM, 7>
Bit 7 - Set this bit to enable flow control char 0x13 replace when DMA sends data.
Methods from Deref<Target = W<ESCAPE_CONF_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<ESCAPE_CONF_SPEC>> for W
impl From<W<ESCAPE_CONF_SPEC>> for W
§fn from(writer: W<ESCAPE_CONF_SPEC>) -> W
fn from(writer: W<ESCAPE_CONF_SPEC>) -> W
Converts to this type from the input type.