Struct stm32wlxx_hal::pac::rcc::extcfgr::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register EXTCFGR
writer
Implementations§
§impl W
impl W
pub fn c2hpre(
&mut self
) -> FieldWriterRaw<'_, u32, EXTCFGR_SPEC, u8, u8, Unsafe, 4, 4>
pub fn c2hpre( &mut self ) -> FieldWriterRaw<'_, u32, EXTCFGR_SPEC, u8, u8, Unsafe, 4, 4>
Bits 4:7 - dual core device only] HCLK2 prescaler (CPU2)
pub fn shdhpre(
&mut self
) -> FieldWriterRaw<'_, u32, EXTCFGR_SPEC, u8, SHDHPRE_A, Unsafe, 4, 0>
pub fn shdhpre( &mut self ) -> FieldWriterRaw<'_, u32, EXTCFGR_SPEC, u8, SHDHPRE_A, Unsafe, 4, 0>
Bits 0:3 - HCLK3 shared prescaler (AHB3, Flash, and SRAM2)
Methods from Deref<Target = W<EXTCFGR_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§
§impl From<W<EXTCFGR_SPEC>> for W
impl From<W<EXTCFGR_SPEC>> for W
§fn from(writer: W<EXTCFGR_SPEC>) -> W
fn from(writer: W<EXTCFGR_SPEC>) -> W
Converts to this type from the input type.
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