#[repr(u8)]pub enum P1DirtyInt {
P1_DIRTY_INT0 = 0,
P1_DIRTY_INT1 = 1,
}Variants§
P1_DIRTY_INT0 = 0
Indicates normal operation
P1_DIRTY_INT1 = 1
indicates that a write has occurred to the FW Code region of the inactive Flash and that flash is now considered corrupt
Implementations§
Source§impl P1DirtyInt
impl P1DirtyInt
Trait Implementations§
Source§impl Clone for P1DirtyInt
impl Clone for P1DirtyInt
Source§fn clone(&self) -> P1DirtyInt
fn clone(&self) -> P1DirtyInt
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for P1DirtyInt
impl Debug for P1DirtyInt
Source§impl From<P1DirtyInt> for u8
impl From<P1DirtyInt> for u8
Source§fn from(val: P1DirtyInt) -> u8
fn from(val: P1DirtyInt) -> u8
Converts to this type from the input type.
Source§impl From<u8> for P1DirtyInt
impl From<u8> for P1DirtyInt
Source§fn from(val: u8) -> P1DirtyInt
fn from(val: u8) -> P1DirtyInt
Converts to this type from the input type.
Source§impl Ord for P1DirtyInt
impl Ord for P1DirtyInt
Source§fn cmp(&self, other: &P1DirtyInt) -> Ordering
fn cmp(&self, other: &P1DirtyInt) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for P1DirtyInt
impl PartialEq for P1DirtyInt
Source§impl PartialOrd for P1DirtyInt
impl PartialOrd for P1DirtyInt
impl Copy for P1DirtyInt
impl Eq for P1DirtyInt
impl StructuralPartialEq for P1DirtyInt
Auto Trait Implementations§
impl Freeze for P1DirtyInt
impl RefUnwindSafe for P1DirtyInt
impl Send for P1DirtyInt
impl Sync for P1DirtyInt
impl Unpin for P1DirtyInt
impl UnwindSafe for P1DirtyInt
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