Type Alias gd32f1::gd32f130::cmp::cs::Cmp0mW

source ·
pub type Cmp0mW<'a, REG> = FieldWriterSafe<'a, REG, 2, Cmp0m>;
Expand description

Field CMP0M writer - CMP0 mode

Aliased Type§

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

Implementations§

source§

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

source

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

High speed / full power

source

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

Medium speed / medium power

source

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

Low speed / low power

source

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

Very-low speed / ultra-low power