Struct stm32_metapac::rcc::regs::Cfgr
#[repr(transparent)]pub struct Cfgr(pub u32);
Expand description
RCC Clock Configuration Register
Tuple Fields§
§0: u32
Implementations§
§impl Cfgr
impl Cfgr
pub fn set_stopwuck(&mut self, val: Stopwuck)
pub fn set_stopwuck(&mut self, val: Stopwuck)
System clock selection after a wake up from system Stop
pub const fn stopkerwuck(&self) -> Stopwuck
pub const fn stopkerwuck(&self) -> Stopwuck
Kernel clock selection after a wake up from system Stop
pub fn set_stopkerwuck(&mut self, val: Stopwuck)
pub fn set_stopkerwuck(&mut self, val: Stopwuck)
Kernel clock selection after a wake up from system Stop
pub fn set_rtcpre(&mut self, val: u8)
pub fn set_rtcpre(&mut self, val: u8)
HSE division factor for RTC clock
pub fn set_hrtimsel(&mut self, val: Hrtimsel)
pub fn set_hrtimsel(&mut self, val: Hrtimsel)
High Resolution Timer clock prescaler selection
pub fn set_timpre(&mut self, val: Timpre)
pub fn set_timpre(&mut self, val: Timpre)
Timers clocks prescaler selection
pub fn set_mco1pre(&mut self, val: Mcopre)
pub fn set_mco1pre(&mut self, val: Mcopre)
MCO1 prescaler
pub fn set_mco1sel(&mut self, val: Mco1sel)
pub fn set_mco1sel(&mut self, val: Mco1sel)
Micro-controller clock output 1
pub fn set_mco2pre(&mut self, val: Mcopre)
pub fn set_mco2pre(&mut self, val: Mcopre)
MCO2 prescaler
pub fn set_mco2sel(&mut self, val: Mco2sel)
pub fn set_mco2sel(&mut self, val: Mco2sel)
Micro-controller clock output 2
Trait Implementations§
impl Copy for Cfgr
impl Eq for Cfgr
impl StructuralEq for Cfgr
impl StructuralPartialEq for Cfgr
Auto Trait Implementations§
impl RefUnwindSafe for Cfgr
impl Send for Cfgr
impl Sync for Cfgr
impl Unpin for Cfgr
impl UnwindSafe for Cfgr
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