pub struct W(_);
Expand description
Register ESC_CONF0
writer
Implementations§
§impl W
impl W
pub fn seper_char(
&mut self
) -> FieldWriterRaw<'_, u32, ESC_CONF0_SPEC, u8, u8, Unsafe, 8, 0>
pub fn seper_char(
&mut self
) -> FieldWriterRaw<'_, u32, ESC_CONF0_SPEC, u8, u8, Unsafe, 8, 0>
Bits 0:7 - This register stores the seperator char seperator char is used to seperate the data frame.
pub fn seper_esc_char0(
&mut self
) -> FieldWriterRaw<'_, u32, ESC_CONF0_SPEC, u8, u8, Unsafe, 8, 8>
pub fn seper_esc_char0(
&mut self
) -> FieldWriterRaw<'_, u32, ESC_CONF0_SPEC, u8, u8, Unsafe, 8, 8>
Bits 8:15 - This register stores thee first char used to replace seperator char in data.
pub fn seper_esc_char1(
&mut self
) -> FieldWriterRaw<'_, u32, ESC_CONF0_SPEC, u8, u8, Unsafe, 8, 16>
pub fn seper_esc_char1(
&mut self
) -> FieldWriterRaw<'_, u32, ESC_CONF0_SPEC, u8, u8, Unsafe, 8, 16>
Bits 16:23 - This register stores the second char used to replace seperator char in data . 0xdc 0xdb replace 0xc0 by default.
Methods from Deref<Target = W<ESC_CONF0_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<ESC_CONF0_SPEC>> for W
impl From<W<ESC_CONF0_SPEC>> for W
§fn from(writer: W<ESC_CONF0_SPEC>) -> W
fn from(writer: W<ESC_CONF0_SPEC>) -> W
Converts to this type from the input type.