Struct stm32_metapac::rcc::regs::Extcfgr
#[repr(transparent)]pub struct Extcfgr(pub u32);
Expand description
Extended clock recovery register
Tuple Fields§
§0: u32
Implementations§
§impl Extcfgr
impl Extcfgr
pub fn set_shdhpre(&mut self, val: Hpre)
pub fn set_shdhpre(&mut self, val: Hpre)
HCLK3 shared prescaler (AHB3, Flash, and SRAM2)
pub fn set_c2hpre(&mut self, val: Hpre)
pub fn set_c2hpre(&mut self, val: Hpre)
dual core device only] HCLK2 prescaler (CPU2)
pub fn set_shdhpref(&mut self, val: bool)
pub fn set_shdhpref(&mut self, val: bool)
HCLK3 shared prescaler flag (AHB3, Flash, and SRAM2)
pub fn set_c2hpref(&mut self, val: bool)
pub fn set_c2hpref(&mut self, val: bool)
CLK2 prescaler flag (CPU2)
Trait Implementations§
impl Copy for Extcfgr
impl Eq for Extcfgr
impl StructuralPartialEq for Extcfgr
Auto Trait Implementations§
impl Freeze for Extcfgr
impl RefUnwindSafe for Extcfgr
impl Send for Extcfgr
impl Sync for Extcfgr
impl Unpin for Extcfgr
impl UnwindSafe for Extcfgr
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)