pub enum ResetCause {
Unknown,
POR,
BOD12,
BOD33,
NVM,
External,
Watchdog,
System,
Backup,
}
Expand description
ResetCause represents the reason the MCU was reset.
Variants§
Trait Implementations§
Source§impl Clone for ResetCause
impl Clone for ResetCause
Source§fn clone(&self) -> ResetCause
fn clone(&self) -> ResetCause
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ResetCause
impl Debug for ResetCause
Source§impl From<u8> for ResetCause
impl From<u8> for ResetCause
Source§fn from(rcause_val: u8) -> ResetCause
fn from(rcause_val: u8) -> ResetCause
Converts to this type from the input type.
impl Copy for ResetCause
Auto Trait Implementations§
impl Freeze for ResetCause
impl RefUnwindSafe for ResetCause
impl Send for ResetCause
impl Sync for ResetCause
impl Unpin for ResetCause
impl UnwindSafe for ResetCause
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