Enum atsamd_hal::ResetCause
source · [−]pub enum ResetCause {
Unknown,
POR,
BOD12,
BOD33,
NVM,
External,
Watchdog,
System,
Backup,
}
Expand description
ResetCause represents the reason the MCU was reset.
Variants
Unknown
POR
BOD12
BOD33
NVM
External
Watchdog
System
Backup
Trait Implementations
sourceimpl Clone for ResetCause
impl Clone for ResetCause
sourcefn clone(&self) -> ResetCause
fn clone(&self) -> ResetCause
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ResetCause
impl Debug for ResetCause
sourceimpl From<u8> for ResetCause
impl From<u8> for ResetCause
sourcefn 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 RefUnwindSafe for ResetCause
impl Send for ResetCause
impl Sync for ResetCause
impl Unpin for ResetCause
impl UnwindSafe for ResetCause
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more