Type Alias gd32f1::gd32f130::dbg::ctl1::RtcHoldW

source ·
pub type RtcHoldW<'a, REG> = BitWriter<'a, REG, RtcHold>;
Expand description

Field RTC_HOLD writer - RTC hold register

Aliased Type§

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

Implementations§

source§

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

source

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

Continue running the RTC as usual

source

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

Hold the RTC for debug when the core is halted