pub struct W(_);
Expand description
Register PLC_CONF0
writer
Implementations§
§impl W
impl W
pub fn good_pack_max(
&mut self
) -> FieldWriterRaw<'_, u32, PLC_CONF0_SPEC, u8, u8, Unsafe, 6, 0>
pub fn good_pack_max(
&mut self
) -> FieldWriterRaw<'_, u32, PLC_CONF0_SPEC, u8, u8, Unsafe, 6, 0>
Bits 0:5
pub fn n_err_seg(
&mut self
) -> FieldWriterRaw<'_, u32, PLC_CONF0_SPEC, u8, u8, Unsafe, 3, 6>
pub fn n_err_seg(
&mut self
) -> FieldWriterRaw<'_, u32, PLC_CONF0_SPEC, u8, u8, Unsafe, 3, 6>
Bits 6:8
pub fn shift_rate(
&mut self
) -> FieldWriterRaw<'_, u32, PLC_CONF0_SPEC, u8, u8, Unsafe, 3, 9>
pub fn shift_rate(
&mut self
) -> FieldWriterRaw<'_, u32, PLC_CONF0_SPEC, u8, u8, Unsafe, 3, 9>
Bits 9:11
pub fn max_slide_sample(
&mut self
) -> FieldWriterRaw<'_, u32, PLC_CONF0_SPEC, u8, u8, Unsafe, 8, 12>
pub fn max_slide_sample(
&mut self
) -> FieldWriterRaw<'_, u32, PLC_CONF0_SPEC, u8, u8, Unsafe, 8, 12>
Bits 12:19
pub fn pack_len_8k(
&mut self
) -> FieldWriterRaw<'_, u32, PLC_CONF0_SPEC, u8, u8, Unsafe, 5, 20>
pub fn pack_len_8k(
&mut self
) -> FieldWriterRaw<'_, u32, PLC_CONF0_SPEC, u8, u8, Unsafe, 5, 20>
Bits 20:24
pub fn n_min_err(
&mut self
) -> FieldWriterRaw<'_, u32, PLC_CONF0_SPEC, u8, u8, Unsafe, 3, 25>
pub fn n_min_err(
&mut self
) -> FieldWriterRaw<'_, u32, PLC_CONF0_SPEC, u8, u8, Unsafe, 3, 25>
Bits 25:27
Methods from Deref<Target = W<PLC_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<PLC_CONF0_SPEC>> for W
impl From<W<PLC_CONF0_SPEC>> for W
§fn from(writer: W<PLC_CONF0_SPEC>) -> W
fn from(writer: W<PLC_CONF0_SPEC>) -> W
Converts to this type from the input type.