Type Alias d1_pac::gpio::pb_pull0::PC_PULL_R

source ·
pub type PC_PULL_R = FieldReader<u8, PC_PULL_A>;
Expand description

Field pc_pull[0-12] reader - PC Pull_up/down Select

Aliased Type§

struct PC_PULL_R { /* private fields */ }

Implementations§

source§

impl PC_PULL_R

source

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