Type Alias gd32f1::gd32f190::cmp::cs::Cmp0hstR

source ·
pub type Cmp0hstR = FieldReader<Cmp0hst>;
Expand description

Field CMP0HST reader - CMP0 hysteresis

Aliased Type§

struct Cmp0hstR { /* private fields */ }

Implementations§

source§

impl Cmp0hstR

source

pub const fn variant(&self) -> Cmp0hst

Get enumerated values variant

source

pub fn is_no_hysteresis(&self) -> bool

No hysteresis

source

pub fn is_low_hysteresis(&self) -> bool

Low hysteresis

source

pub fn is_medium_hysteresis(&self) -> bool

Medium hysteresis

source

pub fn is_high_hysteresis(&self) -> bool

High hysteresis