Struct 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 StructuralPartialEq for Gcr
Auto Trait Implementations§
impl Freeze for Gcr
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
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
)