Struct esp32_hal::pac::uart0::at_cmd_precnt::W
pub struct W(_);
Expand description
Register AT_CMD_PRECNT
writer
Implementations§
§impl W
impl W
pub fn pre_idle_num(
&mut self
) -> FieldWriterRaw<'_, u32, AT_CMD_PRECNT_SPEC, u32, u32, Unsafe, 24, 0>
pub fn pre_idle_num(
&mut self
) -> FieldWriterRaw<'_, u32, AT_CMD_PRECNT_SPEC, u32, u32, Unsafe, 24, 0>
Bits 0:23 - This register is used to configure the idle duration time before the first at_cmd is received by receiver. when the the duration is less than this register value it will not take the next data received as at_cmd char.
Methods from Deref<Target = W<AT_CMD_PRECNT_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<AT_CMD_PRECNT_SPEC>> for W
impl From<W<AT_CMD_PRECNT_SPEC>> for W
§fn from(writer: W<AT_CMD_PRECNT_SPEC>) -> W
fn from(writer: W<AT_CMD_PRECNT_SPEC>) -> W
Converts to this type from the input type.