Type Alias gd32f1::gd32f130::gpioc::pud::Pud0R

source ·
pub type Pud0R = FieldReader<Pud0>;
Expand description

Field PUD0 reader - Pin 0 pull-up or pull-down bits

Aliased Type§

struct Pud0R { /* private fields */ }

Implementations§

source§

impl Pud0R

source

pub const fn variant(&self) -> Option<Pud0>

Get enumerated values variant

source

pub fn is_floating(&self) -> bool

No pull-up, pull-down (reset state)

source

pub fn is_pull_up(&self) -> bool

Pull-up

source

pub fn is_pull_down(&self) -> bool

Pull-down