Struct stm32_metapac::rcc::regs::Rsr
#[repr(transparent)]pub struct Rsr(pub u32);
Expand description
RCC Reset Status Register
Tuple Fields§
§0: u32
Implementations§
§impl Rsr
impl Rsr
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 Rsr
impl Eq for Rsr
impl StructuralPartialEq for Rsr
Auto Trait Implementations§
impl Freeze for Rsr
impl RefUnwindSafe for Rsr
impl Send for Rsr
impl Sync for Rsr
impl Unpin for Rsr
impl UnwindSafe for Rsr
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
)