Type Alias d1_pac::gpio::pf_pull0::PF_PULL_R

source ·
pub type PF_PULL_R = FieldReader<u8, PF_PULL_A>;
Expand description

Field pf_pull[0-6] reader - PF Pull_up/down Select

Aliased Type§

struct PF_PULL_R { /* private fields */ }

Implementations§

source§

impl PF_PULL_R

source

pub fn variant(&self) -> PF_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