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_oblrstf(&mut self, val: bool)
pub const fn set_oblrstf(&mut self, val: bool)
Option byte loading reset flag less thansup>(1)less than/sup>.
pub const fn set_borrstf(&mut self, val: bool)
pub const fn set_borrstf(&mut self, val: bool)
BOR reset flag less thansup>(1)less than/sup>.
pub const fn set_pinrstf(&mut self, val: bool)
pub const fn set_pinrstf(&mut self, val: bool)
pin reset flag (NRST) less thansup>(1)less than/sup>.
pub const fn set_porrstf(&mut self, val: bool)
pub const fn set_porrstf(&mut self, val: bool)
POR/PDR reset flag less thansup>(1)less than/sup>.
pub const fn set_sftrstf(&mut self, val: bool)
pub const fn set_sftrstf(&mut self, val: bool)
system reset from CPU reset flag less thansup>(1)less than/sup>.
pub const fn set_iwdgrstf(&mut self, val: bool)
pub const fn set_iwdgrstf(&mut self, val: bool)
independent watchdog reset flag less thansup>(1)less than/sup>.
pub const fn set_wwdgrstf(&mut self, val: bool)
pub const fn set_wwdgrstf(&mut self, val: bool)
window watchdog reset flag less thansup>(1)less than/sup>.
pub const fn set_lpwrrstf(&mut self, val: bool)
pub const fn set_lpwrrstf(&mut self, val: bool)
reset due to illegal Stop or Standby 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