Struct stm32wlxx_hal::pac::rcc::cfgr::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register CFGR
writer
Implementations§
§impl W
impl W
pub 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
pub fn mcosel(
&mut self
) -> FieldWriterRaw<'_, u32, CFGR_SPEC, u8, MCOSEL_A, Unsafe, 4, 24>
pub fn mcosel( &mut self ) -> FieldWriterRaw<'_, u32, CFGR_SPEC, u8, MCOSEL_A, Unsafe, 4, 24>
Bits 24:27 - Microcontroller clock output
pub 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 - Wakeup from Stop and CSS backup clock selection
pub fn ppre2(
&mut self
) -> FieldWriterRaw<'_, u32, CFGR_SPEC, u8, PPRE2_A, Unsafe, 3, 11>
pub fn ppre2( &mut self ) -> FieldWriterRaw<'_, u32, CFGR_SPEC, u8, PPRE2_A, Unsafe, 3, 11>
Bits 11:13 - PCLK2 high-speed prescaler (APB2)
pub 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 - PCLK1 low-speed prescaler (APB1)
pub 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 - HCLK1 prescaler (CPU1, AHB1, AHB2, and SRAM1.)
Methods from Deref<Target = W<CFGR_SPEC>>§
pub 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§
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