Type Alias gd32f1::gd32f190::timer15::ctl0::SpmW

source ·
pub type SpmW<'a, REG> = BitWriter<'a, REG, Spm>;
Expand description

Field SPM writer - Single pulse mode

Aliased Type§

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

Implementations§

source§

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

source

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

Counter is not stopped at update event

source

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

Counter stops counting at the next update event (clearing the CEN bit)