pub struct W(_);
Expand description
Register CTRL
writer
Implementations§
source§impl W
impl W
sourcepub fn enable(&mut self) -> BitWriterRaw<'_, u32, CTRL_SPEC, bool, BitM, 0>
pub fn enable(&mut self) -> BitWriterRaw<'_, u32, CTRL_SPEC, bool, BitM, 0>
Bit 0 - Counter enable
sourcepub fn tickint(&mut self) -> BitWriterRaw<'_, u32, CTRL_SPEC, bool, BitM, 1>
pub fn tickint(&mut self) -> BitWriterRaw<'_, u32, CTRL_SPEC, bool, BitM, 1>
Bit 1 - SysTick exception request enable
sourcepub fn clksource(&mut self) -> BitWriterRaw<'_, u32, CTRL_SPEC, bool, BitM, 2>
pub fn clksource(&mut self) -> BitWriterRaw<'_, u32, CTRL_SPEC, bool, BitM, 2>
Bit 2 - Clock source selection
Methods from Deref<Target = W<CTRL_SPEC>>§
sourcepub 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.