#[repr(u8)]pub enum P1DirtyMask {
P1_DIRTY_MASK0 = 0,
P1_DIRTY_MASK1 = 1,
}Variants§
P1_DIRTY_MASK0 = 0
Indicates P1_DIRTY_INT interrupt is enabled.
P1_DIRTY_MASK1 = 1
Indicates P1_DIRTY_INT interrupt is disabled.
Implementations§
Source§impl P1DirtyMask
impl P1DirtyMask
Trait Implementations§
Source§impl Clone for P1DirtyMask
impl Clone for P1DirtyMask
Source§fn clone(&self) -> P1DirtyMask
fn clone(&self) -> P1DirtyMask
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 P1DirtyMask
impl Debug for P1DirtyMask
Source§impl From<P1DirtyMask> for u8
impl From<P1DirtyMask> for u8
Source§fn from(val: P1DirtyMask) -> u8
fn from(val: P1DirtyMask) -> u8
Converts to this type from the input type.
Source§impl From<u8> for P1DirtyMask
impl From<u8> for P1DirtyMask
Source§fn from(val: u8) -> P1DirtyMask
fn from(val: u8) -> P1DirtyMask
Converts to this type from the input type.
Source§impl Ord for P1DirtyMask
impl Ord for P1DirtyMask
Source§fn cmp(&self, other: &P1DirtyMask) -> Ordering
fn cmp(&self, other: &P1DirtyMask) -> 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 P1DirtyMask
impl PartialEq for P1DirtyMask
Source§impl PartialOrd for P1DirtyMask
impl PartialOrd for P1DirtyMask
impl Copy for P1DirtyMask
impl Eq for P1DirtyMask
impl StructuralPartialEq for P1DirtyMask
Auto Trait Implementations§
impl Freeze for P1DirtyMask
impl RefUnwindSafe for P1DirtyMask
impl Send for P1DirtyMask
impl Sync for P1DirtyMask
impl Unpin for P1DirtyMask
impl UnwindSafe for P1DirtyMask
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