Type Alias gd32f1::gd32f130::dbg::ctl0::Timer0HoldW

source ·
pub type Timer0HoldW<'a, REG> = BitWriter<'a, REG, Timer0Hold>;
Expand description

Field TIMER0_HOLD writer - Timer 0 hold register

Aliased Type§

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

Implementations§

source§

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

source

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

Continue running the timer as usual

source

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

Hold the timer counter for debug when the core is halted