Type Alias gd32f1::gd32f190::cmp::cs::Cmp0mselR

source ·
pub type Cmp0mselR = FieldReader<Cmp0msel>;
Expand description

Field CMP0MSEL reader - CMP0_M input selection

Aliased Type§

struct Cmp0mselR { /* private fields */ }

Implementations§

source§

impl Cmp0mselR

source

pub const fn variant(&self) -> Option<Cmp0msel>

Get enumerated values variant

source

pub fn is_one_quarter_vref(&self) -> bool

1/4 of VRefint

source

pub fn is_one_half_vref(&self) -> bool

1/2 of VRefint

source

pub fn is_three_quarter_vref(&self) -> bool

3/4 of VRefint

source

pub fn is_vref(&self) -> bool

VRefint

source

pub fn is_pa4(&self) -> bool

PA4 (DAC0

source

pub fn is_pa5(&self) -> bool

PA5

source

pub fn is_pa0(&self) -> bool

PA0