Type Alias gd32f1::gd32f190::cmp::cs::Cmp0mselW

source ·
pub type Cmp0mselW<'a, REG> = FieldWriter<'a, REG, 3, Cmp0msel>;
Expand description

Field CMP0MSEL writer - CMP0_M input selection

Aliased Type§

struct Cmp0mselW<'a, REG> { /* private fields */ }

Implementations§

source§

impl<'a, REG> Cmp0mselW<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

pub fn one_quarter_vref(self) -> &'a mut W<REG>

1/4 of VRefint

source

pub fn one_half_vref(self) -> &'a mut W<REG>

1/2 of VRefint

source

pub fn three_quarter_vref(self) -> &'a mut W<REG>

3/4 of VRefint

source

pub fn vref(self) -> &'a mut W<REG>

VRefint

source

pub fn pa4(self) -> &'a mut W<REG>

PA4 (DAC0

source

pub fn pa5(self) -> &'a mut W<REG>

PA5

source

pub fn pa0(self) -> &'a mut W<REG>

PA0