pub struct W(_);
Expand description
Register CFGR
writer
Implementations
sourceimpl W
impl W
sourcepub fn mcopre(
&mut self
) -> FieldWriterRaw<'_, u32, CFGR_SPEC, u8, MCOPRE_A, Unsafe, 3, 28>
pub fn mcopre(
&mut self
) -> FieldWriterRaw<'_, u32, CFGR_SPEC, u8, MCOPRE_A, Unsafe, 3, 28>
Bits 28:30 - Microcontroller clock output prescaler
sourcepub fn mcosel(
&mut self
) -> FieldWriterRaw<'_, u32, CFGR_SPEC, u8, MCOSEL_A, Safe, 3, 24>
pub fn mcosel(
&mut self
) -> FieldWriterRaw<'_, u32, CFGR_SPEC, u8, MCOSEL_A, Safe, 3, 24>
Bits 24:26 - Microcontroller clock output selection
sourcepub fn plldiv(
&mut self
) -> FieldWriterRaw<'_, u32, CFGR_SPEC, u8, PLLDIV_A, Unsafe, 2, 22>
pub fn plldiv(
&mut self
) -> FieldWriterRaw<'_, u32, CFGR_SPEC, u8, PLLDIV_A, Unsafe, 2, 22>
Bits 22:23 - PLL output division
sourcepub fn pllmul(
&mut self
) -> FieldWriterRaw<'_, u32, CFGR_SPEC, u8, PLLMUL_A, Unsafe, 4, 18>
pub fn pllmul(
&mut self
) -> FieldWriterRaw<'_, u32, CFGR_SPEC, u8, PLLMUL_A, Unsafe, 4, 18>
Bits 18:21 - PLL multiplication factor
sourcepub fn pllsrc(&mut self) -> BitWriterRaw<'_, u32, CFGR_SPEC, PLLSRC_A, BitM, 16>
pub fn pllsrc(&mut self) -> BitWriterRaw<'_, u32, CFGR_SPEC, PLLSRC_A, BitM, 16>
Bit 16 - PLL entry clock source
sourcepub fn stopwuck(
&mut self
) -> BitWriterRaw<'_, u32, CFGR_SPEC, STOPWUCK_A, BitM, 15>
pub fn stopwuck(
&mut self
) -> BitWriterRaw<'_, u32, CFGR_SPEC, STOPWUCK_A, BitM, 15>
Bit 15 - Wake-up from stop clock selection
sourcepub fn ppre2(
&mut self
) -> FieldWriterRaw<'_, u32, CFGR_SPEC, u8, PPRE1_A, Unsafe, 3, 11>
pub fn ppre2(
&mut self
) -> FieldWriterRaw<'_, u32, CFGR_SPEC, u8, PPRE1_A, Unsafe, 3, 11>
Bits 11:13 - APB high-speed prescaler (APB2)
sourcepub fn ppre1(
&mut self
) -> FieldWriterRaw<'_, u32, CFGR_SPEC, u8, PPRE1_A, Unsafe, 3, 8>
pub fn ppre1(
&mut self
) -> FieldWriterRaw<'_, u32, CFGR_SPEC, u8, PPRE1_A, Unsafe, 3, 8>
Bits 8:10 - APB low-speed prescaler (APB1)
sourcepub fn hpre(
&mut self
) -> FieldWriterRaw<'_, u32, CFGR_SPEC, u8, HPRE_A, Unsafe, 4, 4>
pub fn hpre(
&mut self
) -> FieldWriterRaw<'_, u32, CFGR_SPEC, u8, HPRE_A, Unsafe, 4, 4>
Bits 4:7 - AHB prescaler
Methods from Deref<Target = W<CFGR_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