Enum atsam4n8c_pac::rstc::sr::RSTTYP_A
source · #[repr(u8)]
pub enum RSTTYP_A {
GENERAL_RESET,
BACKUP_RESET,
WATCHDOG_RESET,
SOFTWARE_RESET,
USER_RESET,
}
Expand description
Reset Type
Value on reset: 0
Variants§
GENERAL_RESET
0: First power-up Reset
BACKUP_RESET
1: Return from Backup Mode
WATCHDOG_RESET
2: Watchdog fault occurred
SOFTWARE_RESET
3: Processor reset required by the software
USER_RESET
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