#[repr(u8)]pub enum RSTSTAT_A {
CONST_00000001 = 1,
CONST_00000010 = 2,
CONST_00000100 = 4,
CONST_00001000 = 8,
CONST_00010000 = 16,
CONST_00100000 = 32,
CONST_10000000 = 128,
}
Expand description
Reset Status Information
Value on reset: 0
Variants§
CONST_00000001 = 1
1: PORST reset
CONST_00000010 = 2
2: SWD reset
CONST_00000100 = 4
4: PV reset
CONST_00001000 = 8
8: CPU system reset
CONST_00010000 = 16
16: CPU lockup reset
CONST_00100000 = 32
32: WDT reset
CONST_10000000 = 128
128: Parity Error reset
Trait Implementations§
source§impl PartialEq for RSTSTAT_A
impl PartialEq for RSTSTAT_A
impl Copy for RSTSTAT_A
impl Eq for RSTSTAT_A
impl IsEnum for RSTSTAT_A
impl StructuralPartialEq for RSTSTAT_A
Auto Trait Implementations§
impl Freeze for RSTSTAT_A
impl RefUnwindSafe for RSTSTAT_A
impl Send for RSTSTAT_A
impl Sync for RSTSTAT_A
impl Unpin for RSTSTAT_A
impl UnwindSafe for RSTSTAT_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