Struct esp32c2_hal::pac::uart0::rx_filt::W
pub struct W(_);
Expand description
Register RX_FILT
writer
Implementations§
§impl W
impl W
pub fn glitch_filt(
&mut self
) -> FieldWriterRaw<'_, u32, RX_FILT_SPEC, u8, u8, Unsafe, 8, 0>
pub fn glitch_filt(
&mut self
) -> FieldWriterRaw<'_, u32, RX_FILT_SPEC, u8, u8, Unsafe, 8, 0>
Bits 0:7 - when input pulse width is lower than this value, the pulse is ignored.
pub fn glitch_filt_en(
&mut self
) -> BitWriterRaw<'_, u32, RX_FILT_SPEC, bool, BitM, 8>
pub fn glitch_filt_en(
&mut self
) -> BitWriterRaw<'_, u32, RX_FILT_SPEC, bool, BitM, 8>
Bit 8 - Set this bit to enable Rx signal filter.
Methods from Deref<Target = W<RX_FILT_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<RX_FILT_SPEC>> for W
impl From<W<RX_FILT_SPEC>> for W
§fn from(writer: W<RX_FILT_SPEC>) -> W
fn from(writer: W<RX_FILT_SPEC>) -> W
Converts to this type from the input type.