Type Alias gd32f1::gd32f190::timer0::chctl2::Ch0enW

source ·
pub type Ch0enW<'a, REG> = BitWriter<'a, REG, Ch0en>;
Expand description

Field CH0EN writer - Channel 0 enable

Aliased Type§

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

Implementations§

source§

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

source

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

Channel output is disabled

source

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

Channel output is enabled