pub type W = W<STATE0_SPEC>;
Expand description
Register STATE0
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn sw_cpu_int(&mut self) -> SW_CPU_INT_W<'_, STATE0_SPEC>
pub fn sw_cpu_int(&mut self) -> SW_CPU_INT_W<'_, STATE0_SPEC>
Bit 0 - rtc software interrupt to main cpu
sourcepub fn slp_reject_cause_clr(
&mut self
) -> SLP_REJECT_CAUSE_CLR_W<'_, STATE0_SPEC>
pub fn slp_reject_cause_clr( &mut self ) -> SLP_REJECT_CAUSE_CLR_W<'_, STATE0_SPEC>
Bit 1 - clear rtc sleep reject cause
sourcepub fn apb2rtc_bridge_sel(&mut self) -> APB2RTC_BRIDGE_SEL_W<'_, STATE0_SPEC>
pub fn apb2rtc_bridge_sel(&mut self) -> APB2RTC_BRIDGE_SEL_W<'_, STATE0_SPEC>
Bit 22 - 1: APB to RTC using bridge
sourcepub fn slp_wakeup(&mut self) -> SLP_WAKEUP_W<'_, STATE0_SPEC>
pub fn slp_wakeup(&mut self) -> SLP_WAKEUP_W<'_, STATE0_SPEC>
Bit 29 - leep wakeup bit
sourcepub fn slp_reject(&mut self) -> SLP_REJECT_W<'_, STATE0_SPEC>
pub fn slp_reject(&mut self) -> SLP_REJECT_W<'_, STATE0_SPEC>
Bit 30 - leep reject bit
sourcepub fn sleep_en(&mut self) -> SLEEP_EN_W<'_, STATE0_SPEC>
pub fn sleep_en(&mut self) -> SLEEP_EN_W<'_, STATE0_SPEC>
Bit 31 - sleep enable bit