Type Alias d1_pac::gpio::pd_eint_cfg2::EINT_CFG_R
source · pub type EINT_CFG_R = FieldReader<u8, EINT_CFG_A>;
Expand description
Field eint_cfg[16-22]
reader - External INT Mode
Aliased Type§
struct EINT_CFG_R { /* private fields */ }
Implementations§
source§impl EINT_CFG_R
impl EINT_CFG_R
sourcepub fn variant(&self) -> Option<EINT_CFG_A>
pub fn variant(&self) -> Option<EINT_CFG_A>
Get enumerated values variant
sourcepub fn is_positive_edge(&self) -> bool
pub fn is_positive_edge(&self) -> bool
Checks if the value of the field is POSITIVE_EDGE
sourcepub fn is_negative_edge(&self) -> bool
pub fn is_negative_edge(&self) -> bool
Checks if the value of the field is NEGATIVE_EDGE
sourcepub fn is_high_level(&self) -> bool
pub fn is_high_level(&self) -> bool
Checks if the value of the field is HIGH_LEVEL
sourcepub fn is_low_level(&self) -> bool
pub fn is_low_level(&self) -> bool
Checks if the value of the field is LOW_LEVEL
sourcepub fn is_double_edge(&self) -> bool
pub fn is_double_edge(&self) -> bool
Checks if the value of the field is DOUBLE_EDGE