Type Alias gd32f1::gd32f190::cmp::cs::Cmp0enW

source ·
pub type Cmp0enW<'a, REG> = BitWriter<'a, REG, Cmp0en>;
Expand description

Field CMP0EN writer - CMP0 enable

Aliased Type§

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

Implementations§

source§

impl<'a, REG> Cmp0enW<'a, REG>
where REG: Writable + RegisterSpec,

source

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

Comparator disabled

source

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

Comparator enabled