pub struct W(_);
Expand description
Register GEN1_CFG0
writer
Implementations§
§impl W
impl W
pub fn gen1_cfg_upmethod(
&mut self
) -> FieldWriterRaw<'_, u32, GEN1_CFG0_SPEC, u8, u8, Unsafe, 4, 0>
pub fn gen1_cfg_upmethod(
&mut self
) -> FieldWriterRaw<'_, u32, GEN1_CFG0_SPEC, u8, u8, Unsafe, 4, 0>
Bits 0:3
pub fn gen1_t0_sel(
&mut self
) -> FieldWriterRaw<'_, u32, GEN1_CFG0_SPEC, u8, u8, Unsafe, 3, 4>
pub fn gen1_t0_sel(
&mut self
) -> FieldWriterRaw<'_, u32, GEN1_CFG0_SPEC, u8, u8, Unsafe, 3, 4>
Bits 4:6
pub fn gen1_t1_sel(
&mut self
) -> FieldWriterRaw<'_, u32, GEN1_CFG0_SPEC, u8, u8, Unsafe, 3, 7>
pub fn gen1_t1_sel(
&mut self
) -> FieldWriterRaw<'_, u32, GEN1_CFG0_SPEC, u8, u8, Unsafe, 3, 7>
Bits 7:9
Methods from Deref<Target = W<GEN1_CFG0_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<GEN1_CFG0_SPEC>> for W
impl From<W<GEN1_CFG0_SPEC>> for W
§fn from(writer: W<GEN1_CFG0_SPEC>) -> W
fn from(writer: W<GEN1_CFG0_SPEC>) -> W
Converts to this type from the input type.