Type Alias d1_pac::gpio::pb_eint_cfg0::EINT_CFG_R

source ·
pub type EINT_CFG_R = FieldReader<u8, EINT_CFG_A>;
Expand description

Field eint_cfg[0-7] reader - External INT Mode

Aliased Type§

struct EINT_CFG_R { /* private fields */ }

Implementations§

source§

impl EINT_CFG_R

source

pub fn variant(&self) -> Option<EINT_CFG_A>

Get enumerated values variant

source

pub fn is_positive_edge(&self) -> bool

Checks if the value of the field is POSITIVE_EDGE

source

pub fn is_negative_edge(&self) -> bool

Checks if the value of the field is NEGATIVE_EDGE

source

pub fn is_high_level(&self) -> bool

Checks if the value of the field is HIGH_LEVEL

source

pub fn is_low_level(&self) -> bool

Checks if the value of the field is LOW_LEVEL

source

pub fn is_double_edge(&self) -> bool

Checks if the value of the field is DOUBLE_EDGE