Struct Cfgr
#[repr(transparent)]pub struct Cfgr(pub u32);Expand description
RCC clock configuration register.
Tuple Fields§
§0: u32Implementations§
§impl Cfgr
impl Cfgr
pub const fn set_stopwuck(&mut self, val: bool)
pub const fn set_stopwuck(&mut self, val: bool)
system clock selection after a wake up from system Stop.
pub const fn stopkerwuck(&self) -> bool
pub const fn stopkerwuck(&self) -> bool
kernel clock selection after a wake up from system Stop.
pub const fn set_stopkerwuck(&mut self, val: bool)
pub const fn set_stopkerwuck(&mut self, val: bool)
kernel clock selection after a wake up from system Stop.
pub const fn set_rtcpre(&mut self, val: u8)
pub const fn set_rtcpre(&mut self, val: u8)
HSE division factor for RTC clock.
pub const fn set_mco1pre(&mut self, val: Mco1pre)
pub const fn set_mco1pre(&mut self, val: Mco1pre)
MCO1 prescaler.
pub const fn set_mco1sel(&mut self, val: Mco1sel)
pub const fn set_mco1sel(&mut self, val: Mco1sel)
Microcontroller clock output 1.
pub const fn set_mco2pre(&mut self, val: Mco2pre)
pub const fn set_mco2pre(&mut self, val: Mco2pre)
MCO2 prescaler.
pub const fn set_mco2sel(&mut self, val: Mco2sel)
pub const fn set_mco2sel(&mut self, val: Mco2sel)
microcontroller clock output 2.
Trait Implementations§
impl Copy for Cfgr
impl Eq for Cfgr
impl StructuralPartialEq for Cfgr
Auto Trait Implementations§
impl Freeze for Cfgr
impl RefUnwindSafe for Cfgr
impl Send for Cfgr
impl Sync for Cfgr
impl Unpin for Cfgr
impl UnsafeUnpin 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