Struct Rsr
#[repr(transparent)]pub struct Rsr(pub u32);Expand description
RCC Reset Status Register
Tuple Fields§
§0: u32Implementations§
§impl Rsr
impl Rsr
pub const fn set_cpurstf(&mut self, val: bool)
pub const fn set_cpurstf(&mut self, val: bool)
CPU1 reset flag
pub const fn set_c2rstf(&mut self, val: bool)
pub const fn set_c2rstf(&mut self, val: bool)
CPU2 reset flag
pub const fn set_d1rstf(&mut self, val: bool)
pub const fn set_d1rstf(&mut self, val: bool)
D1 domain power switch reset flag
pub const fn set_d2rstf(&mut self, val: bool)
pub const fn set_d2rstf(&mut self, val: bool)
D2 domain power switch reset flag
pub const fn set_borrstf(&mut self, val: bool)
pub const fn set_borrstf(&mut self, val: bool)
BOR reset flag
pub const fn set_pinrstf(&mut self, val: bool)
pub const fn set_pinrstf(&mut self, val: bool)
Pin reset flag (NRST)
pub const fn set_porrstf(&mut self, val: bool)
pub const fn set_porrstf(&mut self, val: bool)
POR/PDR reset flag
pub const fn set_sftrstf(&mut self, val: bool)
pub const fn set_sftrstf(&mut self, val: bool)
System reset from CPU1 reset flag
pub const fn set_sft2rstf(&mut self, val: bool)
pub const fn set_sft2rstf(&mut self, val: bool)
System reset from CPU2 reset flag
pub const fn set_iwdg1rstf(&mut self, val: bool)
pub const fn set_iwdg1rstf(&mut self, val: bool)
CPU1 Independent Watchdog reset flag
pub const fn set_iwdg2rstf(&mut self, val: bool)
pub const fn set_iwdg2rstf(&mut self, val: bool)
CPU2 Independent Watchdog reset flag
pub const fn set_wwdg1rstf(&mut self, val: bool)
pub const fn set_wwdg1rstf(&mut self, val: bool)
Window Watchdog 1 reset flag
pub const fn set_wwdg2rstf(&mut self, val: bool)
pub const fn set_wwdg2rstf(&mut self, val: bool)
Window Watchdog 2 reset flag
pub const fn set_lpwrrstf(&mut self, val: bool)
pub const fn set_lpwrrstf(&mut self, val: bool)
Reset due to illegal D1 DStandby or CPU1 CStop flag
pub const fn set_lpwr2rstf(&mut self, val: bool)
pub const fn set_lpwr2rstf(&mut self, val: bool)
Reset due to illegal D2 DStandby or CPU2 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 UnsafeUnpin 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