Type Alias d1_pac::gpio::pe_pull1::PE_PULL_R

source ·
pub type PE_PULL_R = FieldReader<u8, PE_PULL_A>;
Expand description

Field pe_pull[16-17] reader - PE Pull_up/down Select

Aliased Type§

struct PE_PULL_R { /* private fields */ }

Implementations§

source§

impl PE_PULL_R

source

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