Enum d1_pac::gpio::pe_eint_cfg2::EINT_CFG_A   
source · #[repr(u8)]pub enum EINT_CFG_A {
    POSITIVE_EDGE = 0,
    NEGATIVE_EDGE = 1,
    HIGH_LEVEL = 2,
    LOW_LEVEL = 3,
    DOUBLE_EDGE = 4,
}Expand description
External INT Mode
Value on reset: 0
Variants§
POSITIVE_EDGE = 0
0: 0
NEGATIVE_EDGE = 1
1: 1
HIGH_LEVEL = 2
2: 10
LOW_LEVEL = 3
3: 11
DOUBLE_EDGE = 4
4: 100
Trait Implementations§
source§impl Clone for EINT_CFG_A
 
impl Clone for EINT_CFG_A
source§fn clone(&self) -> EINT_CFG_A
 
fn clone(&self) -> EINT_CFG_A
Returns a copy 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 EINT_CFG_A
 
impl Debug for EINT_CFG_A
source§impl From<EINT_CFG_A> for u8
 
impl From<EINT_CFG_A> for u8
source§fn from(variant: EINT_CFG_A) -> Self
 
fn from(variant: EINT_CFG_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for EINT_CFG_A
 
impl PartialEq for EINT_CFG_A
impl Copy for EINT_CFG_A
impl Eq for EINT_CFG_A
impl StructuralPartialEq for EINT_CFG_A
Auto Trait Implementations§
impl Freeze for EINT_CFG_A
impl RefUnwindSafe for EINT_CFG_A
impl Send for EINT_CFG_A
impl Sync for EINT_CFG_A
impl Unpin for EINT_CFG_A
impl UnwindSafe for EINT_CFG_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
source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
 
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
    T: Copy,
 
impl<T> CloneToUninit for Twhere
    T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
 
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)