pub struct W(_);
Expand description
Register DT2_CFG
writer
Implementations§
§impl W
impl W
pub fn dt2_fed_upmethod(
&mut self
) -> FieldWriterRaw<'_, u32, DT2_CFG_SPEC, u8, u8, Unsafe, 4, 0>
pub fn dt2_fed_upmethod(
&mut self
) -> FieldWriterRaw<'_, u32, DT2_CFG_SPEC, u8, u8, Unsafe, 4, 0>
Bits 0:3
pub fn dt2_red_upmethod(
&mut self
) -> FieldWriterRaw<'_, u32, DT2_CFG_SPEC, u8, u8, Unsafe, 4, 4>
pub fn dt2_red_upmethod(
&mut self
) -> FieldWriterRaw<'_, u32, DT2_CFG_SPEC, u8, u8, Unsafe, 4, 4>
Bits 4:7
pub fn dt2_deb_mode(
&mut self
) -> BitWriterRaw<'_, u32, DT2_CFG_SPEC, bool, BitM, 8>
pub fn dt2_deb_mode(
&mut self
) -> BitWriterRaw<'_, u32, DT2_CFG_SPEC, bool, BitM, 8>
Bit 8
pub fn dt2_a_outswap(
&mut self
) -> BitWriterRaw<'_, u32, DT2_CFG_SPEC, bool, BitM, 9>
pub fn dt2_a_outswap(
&mut self
) -> BitWriterRaw<'_, u32, DT2_CFG_SPEC, bool, BitM, 9>
Bit 9
pub fn dt2_b_outswap(
&mut self
) -> BitWriterRaw<'_, u32, DT2_CFG_SPEC, bool, BitM, 10>
pub fn dt2_b_outswap(
&mut self
) -> BitWriterRaw<'_, u32, DT2_CFG_SPEC, bool, BitM, 10>
Bit 10
pub fn dt2_red_insel(
&mut self
) -> BitWriterRaw<'_, u32, DT2_CFG_SPEC, bool, BitM, 11>
pub fn dt2_red_insel(
&mut self
) -> BitWriterRaw<'_, u32, DT2_CFG_SPEC, bool, BitM, 11>
Bit 11
pub fn dt2_fed_insel(
&mut self
) -> BitWriterRaw<'_, u32, DT2_CFG_SPEC, bool, BitM, 12>
pub fn dt2_fed_insel(
&mut self
) -> BitWriterRaw<'_, u32, DT2_CFG_SPEC, bool, BitM, 12>
Bit 12
pub fn dt2_red_outinvert(
&mut self
) -> BitWriterRaw<'_, u32, DT2_CFG_SPEC, bool, BitM, 13>
pub fn dt2_red_outinvert(
&mut self
) -> BitWriterRaw<'_, u32, DT2_CFG_SPEC, bool, BitM, 13>
Bit 13
pub fn dt2_fed_outinvert(
&mut self
) -> BitWriterRaw<'_, u32, DT2_CFG_SPEC, bool, BitM, 14>
pub fn dt2_fed_outinvert(
&mut self
) -> BitWriterRaw<'_, u32, DT2_CFG_SPEC, bool, BitM, 14>
Bit 14
pub fn dt2_a_outbypass(
&mut self
) -> BitWriterRaw<'_, u32, DT2_CFG_SPEC, bool, BitM, 15>
pub fn dt2_a_outbypass(
&mut self
) -> BitWriterRaw<'_, u32, DT2_CFG_SPEC, bool, BitM, 15>
Bit 15
pub fn dt2_b_outbypass(
&mut self
) -> BitWriterRaw<'_, u32, DT2_CFG_SPEC, bool, BitM, 16>
pub fn dt2_b_outbypass(
&mut self
) -> BitWriterRaw<'_, u32, DT2_CFG_SPEC, bool, BitM, 16>
Bit 16
pub fn dt2_clk_sel(
&mut self
) -> BitWriterRaw<'_, u32, DT2_CFG_SPEC, bool, BitM, 17>
pub fn dt2_clk_sel(
&mut self
) -> BitWriterRaw<'_, u32, DT2_CFG_SPEC, bool, BitM, 17>
Bit 17
Methods from Deref<Target = W<DT2_CFG_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<DT2_CFG_SPEC>> for W
impl From<W<DT2_CFG_SPEC>> for W
§fn from(writer: W<DT2_CFG_SPEC>) -> W
fn from(writer: W<DT2_CFG_SPEC>) -> W
Converts to this type from the input type.