pub struct W(_);
Expand description
Register CR
writer
Implementations
sourceimpl W
impl W
sourcepub fn pllon(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, HSI16ON_A, BitM, 24>
pub fn pllon(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, HSI16ON_A, BitM, 24>
Bit 24 - PLL enable bit
sourcepub fn rtcpre(
&mut self
) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, RTCPRE_A, Safe, 2, 20>
pub fn rtcpre(
&mut self
) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, RTCPRE_A, Safe, 2, 20>
Bits 20:21 - TC/LCD prescaler
sourcepub fn csshseon(
&mut self
) -> BitWriterRaw<'_, u32, CR_SPEC, HSI16ON_A, BitM, 19>
pub fn csshseon(
&mut self
) -> BitWriterRaw<'_, u32, CR_SPEC, HSI16ON_A, BitM, 19>
Bit 19 - Clock security system on HSE enable bit
sourcepub fn hsebyp(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, HSEBYP_A, BitM, 18>
pub fn hsebyp(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, HSEBYP_A, BitM, 18>
Bit 18 - HSE clock bypass bit
sourcepub fn hseon(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, HSI16ON_A, BitM, 16>
pub fn hseon(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, HSI16ON_A, BitM, 16>
Bit 16 - HSE clock enable bit
sourcepub fn msion(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, HSI16ON_A, BitM, 8>
pub fn msion(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, HSI16ON_A, BitM, 8>
Bit 8 - MSI clock enable bit
sourcepub fn hsi16diven(
&mut self
) -> BitWriterRaw<'_, u32, CR_SPEC, HSI16DIVEN_A, BitM, 3>
pub fn hsi16diven(
&mut self
) -> BitWriterRaw<'_, u32, CR_SPEC, HSI16DIVEN_A, BitM, 3>
Bit 3 - HSI16DIVEN
sourcepub fn hsi16rdyf(
&mut self
) -> BitWriterRaw<'_, u32, CR_SPEC, HSI16RDYF_A, BitM, 2>
pub fn hsi16rdyf(
&mut self
) -> BitWriterRaw<'_, u32, CR_SPEC, HSI16RDYF_A, BitM, 2>
Bit 2 - Internal high-speed clock ready flag
sourcepub fn hsi16on(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, HSI16ON_A, BitM, 0>
pub fn hsi16on(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, HSI16ON_A, BitM, 0>
Bit 0 - 16 MHz high-speed internal clock enable
sourcepub fn hsi16outen(
&mut self
) -> BitWriterRaw<'_, u32, CR_SPEC, HSI16OUTEN_A, BitM, 5>
pub fn hsi16outen(
&mut self
) -> BitWriterRaw<'_, u32, CR_SPEC, HSI16OUTEN_A, BitM, 5>
Bit 5 - 16 MHz high-speed internal clock output enable
Methods from Deref<Target = W<CR_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.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more