Type Alias gd32e5::gd32e503::gpiob::ctl0::Ctl0R

source ·
pub type Ctl0R = FieldReader<Ctl0>;
Expand description

Field CTL0 reader - Port x configuration bits (x = 0)

Aliased Type§

struct Ctl0R { /* private fields */ }

Implementations§

source§

impl Ctl0R

source

pub const fn variant(&self) -> Ctl0

Get enumerated values variant

source

pub fn is_analog_or_push_pull(&self) -> bool

Analog mode/GPIO output with push-pull

source

pub fn is_floating_or_open_drain(&self) -> bool

Floating input/GPIO output with open-drain

source

pub fn is_input_or_afio_pp(&self) -> bool

Input with pull-up pull-down/AFIO output with push-pull

source

pub fn is_rsvdor_afio_od(&self) -> bool

Reserved/AFIO output with open-drain