Type Alias esp32c3::rtc_cntl::state0::W

source ·
pub type W = W<STATE0_SPEC>;
Expand description

Register STATE0 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn sw_cpu_int(&mut self) -> SW_CPU_INT_W<'_, STATE0_SPEC>

Bit 0 - rtc software interrupt to main cpu

source

pub fn slp_reject_cause_clr( &mut self ) -> SLP_REJECT_CAUSE_CLR_W<'_, STATE0_SPEC>

Bit 1 - clear rtc sleep reject cause

source

pub fn apb2rtc_bridge_sel(&mut self) -> APB2RTC_BRIDGE_SEL_W<'_, STATE0_SPEC>

Bit 22 - 1: APB to RTC using bridge

source

pub fn slp_wakeup(&mut self) -> SLP_WAKEUP_W<'_, STATE0_SPEC>

Bit 29 - leep wakeup bit

source

pub fn slp_reject(&mut self) -> SLP_REJECT_W<'_, STATE0_SPEC>

Bit 30 - leep reject bit

source

pub fn sleep_en(&mut self) -> SLEEP_EN_W<'_, STATE0_SPEC>

Bit 31 - sleep enable bit