pub struct Status { /* private fields */ }
Expand description
Status type
Implementations§
Source§impl Status
impl Status
Sourcepub fn stop_error_reset(&self) -> bool
pub fn stop_error_reset(&self) -> bool
A reset was caused by a module failing to acknowledge entering Stop mode
Sourcepub fn debugger_reset(&self) -> bool
pub fn debugger_reset(&self) -> bool
A reset was caused by debugger request
The request is made in the MDM-AP register, this is called MDMAP in SIM_SRSID (section 12.2.1 of KEA64RM).
Sourcepub fn software_reset(&self) -> bool
pub fn software_reset(&self) -> bool
A reset was caused by software request
Sourcepub fn lockup_reset(&self) -> bool
pub fn lockup_reset(&self) -> bool
A reset was caused by a core lockup event
Sourcepub fn power_on_reset(&self) -> bool
pub fn power_on_reset(&self) -> bool
A reset was caused by power-on
For normal startup, this is set, if there was some other reason for reseting, this is cleared.
Sourcepub fn watchdog_reset(&self) -> bool
pub fn watchdog_reset(&self) -> bool
A reset was caused by the watchdog.
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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