pub struct W(_);
Expand description
Register CLKM_CONF
writer
Implementations§
§impl W
impl W
pub fn clkm_div_num(
&mut self
) -> FieldWriterRaw<'_, u32, CLKM_CONF_SPEC, u8, u8, Unsafe, 8, 0>
pub fn clkm_div_num(
&mut self
) -> FieldWriterRaw<'_, u32, CLKM_CONF_SPEC, u8, u8, Unsafe, 8, 0>
Bits 0:7
pub fn clkm_div_b(
&mut self
) -> FieldWriterRaw<'_, u32, CLKM_CONF_SPEC, u8, u8, Unsafe, 6, 8>
pub fn clkm_div_b(
&mut self
) -> FieldWriterRaw<'_, u32, CLKM_CONF_SPEC, u8, u8, Unsafe, 6, 8>
Bits 8:13
pub fn clkm_div_a(
&mut self
) -> FieldWriterRaw<'_, u32, CLKM_CONF_SPEC, u8, u8, Unsafe, 6, 14>
pub fn clkm_div_a(
&mut self
) -> FieldWriterRaw<'_, u32, CLKM_CONF_SPEC, u8, u8, Unsafe, 6, 14>
Bits 14:19
pub fn clk_en(
&mut self
) -> BitWriterRaw<'_, u32, CLKM_CONF_SPEC, bool, BitM, 20>
pub fn clk_en(
&mut self
) -> BitWriterRaw<'_, u32, CLKM_CONF_SPEC, bool, BitM, 20>
Bit 20
pub fn clka_ena(
&mut self
) -> BitWriterRaw<'_, u32, CLKM_CONF_SPEC, bool, BitM, 21>
pub fn clka_ena(
&mut self
) -> BitWriterRaw<'_, u32, CLKM_CONF_SPEC, bool, BitM, 21>
Bit 21
Methods from Deref<Target = W<CLKM_CONF_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<CLKM_CONF_SPEC>> for W
impl From<W<CLKM_CONF_SPEC>> for W
§fn from(writer: W<CLKM_CONF_SPEC>) -> W
fn from(writer: W<CLKM_CONF_SPEC>) -> W
Converts to this type from the input type.