Type Alias gd32f1::gd32f190::gpiof::ctl::Ctl0R

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

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

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_input(&self) -> bool

Input mode (reset state)

source

pub fn is_output(&self) -> bool

General purpose output mode

source

pub fn is_alternate(&self) -> bool

Alternate function mode

source

pub fn is_analog(&self) -> bool

Analog mode