pub struct W(_);
Expand description
Register CR
writer
Implementations
sourceimpl W
impl W
sourcepub fn plli2son(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, HSION_A, BitM, 26>
pub fn plli2son(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, HSION_A, BitM, 26>
Bit 26 - PLLI2S enable
sourcepub fn pllon(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, HSION_A, BitM, 24>
pub fn pllon(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, HSION_A, BitM, 24>
Bit 24 - Main PLL (PLL) enable
sourcepub fn csson(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, CSSON_A, BitM, 19>
pub fn csson(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, CSSON_A, BitM, 19>
Bit 19 - Clock security system enable
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
sourcepub fn hseon(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, HSION_A, BitM, 16>
pub fn hseon(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, HSION_A, BitM, 16>
Bit 16 - HSE clock enable
sourcepub fn hsitrim(
&mut self
) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, u8, Safe, 5, 3>
pub fn hsitrim(
&mut self
) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, u8, Safe, 5, 3>
Bits 3:7 - Internal high-speed clock trimming
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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