Type Alias gd32f1::gd32f130::cmp::cs::Cmp0swR

source ·
pub type Cmp0swR = BitReader<Cmp0sw>;
Expand description

Field CMP0SW reader - CMP0 switch

Aliased Type§

struct Cmp0swR { /* private fields */ }

Implementations§

source§

impl Cmp0swR

source

pub const fn variant(&self) -> Cmp0sw

Get enumerated values variant

source

pub fn is_open(&self) -> bool

Switch open

source

pub fn is_closed(&self) -> bool

Switch closed