Type Alias d1_pac::gpio::pg_pull1::PG_PULL_R

source ·
pub type PG_PULL_R = FieldReader<u8, PG_PULL_A>;
Expand description

Field pg_pull[16-18] reader - PG Pull_up/down Select

Aliased Type§

struct PG_PULL_R { /* private fields */ }

Implementations§

source§

impl PG_PULL_R

source

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