Enum atsam4e8e_pac::rstc::sr::RSTTYP_A
source · #[repr(u8)]
pub enum RSTTYP_A {
GENERAL_RST,
BACKUP_RST,
WDT_RST,
SOFT_RST,
USER_RST,
}
Expand description
Reset Type
Value on reset: 0
Variants§
GENERAL_RST
0: First power-up reset
BACKUP_RST
1: Return from Backup Mode
WDT_RST
2: Watchdog fault occurred
SOFT_RST
3: Processor reset required by the software
USER_RST
4: NRST pin detected low
Trait Implementations§
source§impl PartialEq<RSTTYP_A> for RSTTYP_A
impl PartialEq<RSTTYP_A> for RSTTYP_A
impl Copy for RSTTYP_A
impl Eq for RSTTYP_A
impl StructuralEq for RSTTYP_A
impl StructuralPartialEq for RSTTYP_A
Auto Trait Implementations§
impl RefUnwindSafe for RSTTYP_A
impl Send for RSTTYP_A
impl Sync for RSTTYP_A
impl Unpin for RSTTYP_A
impl UnwindSafe for RSTTYP_A
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