Type Alias gd32e1::gd32e103::timer0::chctl2::Ch0enW

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

Field CH0EN writer - Channel 0 capture/compare function 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