Struct esp32c2_hal::pac::uart0::at_cmd_char::W
pub struct W(_);
Expand description
Register AT_CMD_CHAR
writer
Implementations§
§impl W
impl W
pub fn at_cmd_char(
&mut self
) -> FieldWriterRaw<'_, u32, AT_CMD_CHAR_SPEC, u8, u8, Unsafe, 8, 0>
pub fn at_cmd_char(
&mut self
) -> FieldWriterRaw<'_, u32, AT_CMD_CHAR_SPEC, u8, u8, Unsafe, 8, 0>
Bits 0:7 - This register is used to configure the content of at_cmd char.
pub fn char_num(
&mut self
) -> FieldWriterRaw<'_, u32, AT_CMD_CHAR_SPEC, u8, u8, Unsafe, 8, 8>
pub fn char_num(
&mut self
) -> FieldWriterRaw<'_, u32, AT_CMD_CHAR_SPEC, u8, u8, Unsafe, 8, 8>
Bits 8:15 - This register is used to configure the num of continuous at_cmd chars received by receiver.
Methods from Deref<Target = W<AT_CMD_CHAR_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_CHAR_SPEC>> for W
impl From<W<AT_CMD_CHAR_SPEC>> for W
§fn from(writer: W<AT_CMD_CHAR_SPEC>) -> W
fn from(writer: W<AT_CMD_CHAR_SPEC>) -> W
Converts to this type from the input type.