Struct C1Rsr
#[repr(transparent)]pub struct C1Rsr(pub u32);
Expand description
RCC Reset Status Register
Tuple Fields§
§0: u32
Implementations§
§impl C1Rsr
impl C1Rsr
pub fn set_cpurstf(&mut self, val: bool)
pub fn set_cpurstf(&mut self, val: bool)
CPU reset flag
pub fn set_d1rstf(&mut self, val: bool)
pub fn set_d1rstf(&mut self, val: bool)
D1 domain power switch reset flag
pub fn set_d2rstf(&mut self, val: bool)
pub fn set_d2rstf(&mut self, val: bool)
D2 domain power switch reset flag
pub fn set_borrstf(&mut self, val: bool)
pub fn set_borrstf(&mut self, val: bool)
BOR reset flag
pub fn set_pinrstf(&mut self, val: bool)
pub fn set_pinrstf(&mut self, val: bool)
Pin reset flag (NRST)
pub fn set_porrstf(&mut self, val: bool)
pub fn set_porrstf(&mut self, val: bool)
POR/PDR reset flag
pub fn set_sftrstf(&mut self, val: bool)
pub fn set_sftrstf(&mut self, val: bool)
System reset from CPU reset flag
pub fn set_iwdg1rstf(&mut self, val: bool)
pub fn set_iwdg1rstf(&mut self, val: bool)
Independent Watchdog reset flag
pub fn set_wwdg1rstf(&mut self, val: bool)
pub fn set_wwdg1rstf(&mut self, val: bool)
Window Watchdog reset flag
pub fn set_lpwrrstf(&mut self, val: bool)
pub fn set_lpwrrstf(&mut self, val: bool)
Reset due to illegal D1 DStandby or CPU CStop flag
Trait Implementations§
impl Copy for C1Rsr
impl Eq for C1Rsr
impl StructuralPartialEq for C1Rsr
Auto Trait Implementations§
impl Freeze for C1Rsr
impl RefUnwindSafe for C1Rsr
impl Send for C1Rsr
impl Sync for C1Rsr
impl Unpin for C1Rsr
impl UnwindSafe for C1Rsr
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
)