Type Alias gd32f1::gd32f130::rcu::apb2en::CfgcmpenW

source ·
pub type CfgcmpenW<'a, REG> = BitWriter<'a, REG, Cfgcmpen>;
Expand description

Field CFGCMPEN writer - System configuration and comparator clock enable

Aliased Type§

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

Implementations§

source§

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

source

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

The selected clock is disabled

source

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

The selected clock is enabled