Struct Cfgr1
#[repr(transparent)]pub struct Cfgr1(pub u32);Expand description
RCC clock configuration register 1.
Tuple Fields§
§0: u32Implementations§
§impl Cfgr1
impl Cfgr1
pub const fn set_stopwuck(&mut self, val: Stopwuck)
pub const fn set_stopwuck(&mut self, val: Stopwuck)
Wake-up from Stop and CSS backup clock selection.
pub const fn stopkerwuck(&self) -> bool
pub const fn stopkerwuck(&self) -> bool
Wake-up from Stop kernel clock automatic enable selection.
pub const fn set_stopkerwuck(&mut self, val: bool)
pub const fn set_stopkerwuck(&mut self, val: bool)
Wake-up from Stop kernel clock automatic enable selection.
pub const fn set_mco2sel(&mut self, val: Mco2sel)
pub const fn set_mco2sel(&mut self, val: Mco2sel)
Microcontroller clock output 2.
pub const fn set_mco2pre(&mut self, val: Mcopre)
pub const fn set_mco2pre(&mut self, val: Mcopre)
Microcontroller clock output 2 prescaler.
pub const fn set_mcosel(&mut self, val: Mcosel)
pub const fn set_mcosel(&mut self, val: Mcosel)
Microcontroller clock output.
pub const fn set_mcopre(&mut self, val: Mcopre)
pub const fn set_mcopre(&mut self, val: Mcopre)
Microcontroller clock output prescaler.
Trait Implementations§
impl Copy for Cfgr1
impl Eq for Cfgr1
impl StructuralPartialEq for Cfgr1
Auto Trait Implementations§
impl Freeze for Cfgr1
impl RefUnwindSafe for Cfgr1
impl Send for Cfgr1
impl Sync for Cfgr1
impl Unpin for Cfgr1
impl UnwindSafe for Cfgr1
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