#[repr(u8)]pub enum RSTSTAT_A {
VALUE1 = 1,
VALUE2 = 2,
VALUE3 = 4,
VALUE4 = 8,
VALUE5 = 16,
VALUE6 = 32,
VALUE8 = 128,
}
Expand description
Reset Status Information
Value on reset: 0
Variants§
VALUE1 = 1
1: PORST reset
VALUE2 = 2
2: SWD reset
VALUE3 = 4
4: PV reset
VALUE4 = 8
8: CPU system reset
VALUE5 = 16
16: CPU lockup reset
VALUE6 = 32
32: WDT reset
VALUE8 = 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