Type Alias d1_pac::gpio::pd_pull1::PD_PULL_W

source ·
pub type PD_PULL_W<'a, const O: u8> = FieldWriter<'a, u32, PD_PULL1_SPEC, u8, PD_PULL_A, 2, O>;
Expand description

Field pd_pull[16-22] writer - PD Pull_up/down Select

Aliased Type§

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

Implementations§

source§

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

source

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

0

source

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

1

source

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

10