Type Alias d1_pac::gpio::pg_pull0::PG_PULL_W

source ·
pub type PG_PULL_W<'a, const O: u8> = FieldWriter<'a, u32, PG_PULL0_SPEC, u8, PG_PULL_A, 2, O>;
Expand description

Field pg_pull[0-15] writer - PG Pull_up/down Select

Aliased Type§

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

Implementations§

source§

impl<'a, const O: u8> PG_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