Type Alias d1_pac::gpio::pd_eint_cfg2::EINT_CFG_W

source ·
pub type EINT_CFG_W<'a, const O: u8> = FieldWriter<'a, u32, PD_EINT_CFG2_SPEC, u8, EINT_CFG_A, 4, O>;
Expand description

Field eint_cfg[16-22] writer - External INT Mode

Aliased Type§

struct EINT_CFG_W<'a, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, const O: u8> EINT_CFG_W<'a, O>

source

pub fn positive_edge(self) -> &'a mut W

0

source

pub fn negative_edge(self) -> &'a mut W

1

source

pub fn high_level(self) -> &'a mut W

10

source

pub fn low_level(self) -> &'a mut W

11

source

pub fn double_edge(self) -> &'a mut W

100