Struct stm32_metapac::rcc::regs::Gcr
#[repr(transparent)]pub struct Gcr(pub u32);
Expand description
Global Control Register
Tuple Fields§
§0: u32
Implementations§
§impl Gcr
impl Gcr
pub fn set_ww1rsc(&mut self, val: bool)
pub fn set_ww1rsc(&mut self, val: bool)
WWDG1 reset scope control
pub fn set_ww2rsc(&mut self, val: bool)
pub fn set_ww2rsc(&mut self, val: bool)
WWDG2 reset scope control
pub fn set_boot_c1(&mut self, val: bool)
pub fn set_boot_c1(&mut self, val: bool)
Force allow CPU1 to boot
pub fn set_boot_c2(&mut self, val: bool)
pub fn set_boot_c2(&mut self, val: bool)
Force allow CPU2 to boot
Trait Implementations§
impl Copy for Gcr
impl Eq for Gcr
impl StructuralEq for Gcr
impl StructuralPartialEq for Gcr
Auto Trait Implementations§
impl RefUnwindSafe for Gcr
impl Send for Gcr
impl Sync for Gcr
impl Unpin for Gcr
impl UnwindSafe for Gcr
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