#[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 powerup 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
impl Copy 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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