pub struct W(/* private fields */);
Expand description
Register CR
writer
Implementations§
Source§impl 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
Sourcepub fn hsion(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, HSION_A, BitM, 0>
pub fn hsion(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, HSION_A, BitM, 0>
Bit 0 - Internal high-speed clock 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§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more