Type Alias d1_pac::gpio::pd_pull1::PD_PULL_R

source ·
pub type PD_PULL_R = FieldReader<u8, PD_PULL_A>;
Expand description

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

Aliased Type§

struct PD_PULL_R { /* private fields */ }

Implementations§

source§

impl PD_PULL_R

source

pub fn variant(&self) -> PD_PULL_A

Get enumerated values variant

source

pub fn is_pull_disable(&self) -> bool

Checks if the value of the field is PULL_DISABLE

source

pub fn is_pull_up(&self) -> bool

Checks if the value of the field is PULL_UP

source

pub fn is_pull_down(&self) -> bool

Checks if the value of the field is PULL_DOWN