Type Alias gd32f1::gd32f130::cmp::cs::Cmp0mR

source ·
pub type Cmp0mR = FieldReader<Cmp0m>;
Expand description

Field CMP0M reader - CMP0 mode

Aliased Type§

struct Cmp0mR { /* private fields */ }

Implementations§

source§

impl Cmp0mR

source

pub const fn variant(&self) -> Cmp0m

Get enumerated values variant

source

pub fn is_high_speed(&self) -> bool

High speed / full power

source

pub fn is_medium_speed(&self) -> bool

Medium speed / medium power

source

pub fn is_low_speed(&self) -> bool

Low speed / low power

source

pub fn is_very_low_speed(&self) -> bool

Very-low speed / ultra-low power