#[repr(u8)]pub enum Rststat {
Const00000001 = 1,
Const00000010 = 2,
Const00000100 = 4,
Const00001000 = 8,
Const00010000 = 16,
Const00100000 = 32,
Const10000000 = 128,
}
Expand description
Reset Status Information
Value on reset: 0
Variants§
Const00000001 = 1
1: PORST reset
Const00000010 = 2
2: SWD reset
Const00000100 = 4
4: PV reset
Const00001000 = 8
8: CPU system reset
Const00010000 = 16
16: CPU lockup reset
Const00100000 = 32
32: WDT reset
Const10000000 = 128
128: Parity Error reset
Trait Implementations§
source§impl PartialEq for Rststat
impl PartialEq for Rststat
impl Copy for Rststat
impl Eq for Rststat
impl StructuralPartialEq for Rststat
Auto Trait Implementations§
impl RefUnwindSafe for Rststat
impl Send for Rststat
impl Sync for Rststat
impl Unpin for Rststat
impl UnwindSafe for Rststat
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