Type Alias esp32c3::rtc_cntl::retention_ctrl::W
source · pub type W = W<RETENTION_CTRL_SPEC>;
Expand description
Register RETENTION_CTRL
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn retention_clk_sel(
&mut self
) -> RETENTION_CLK_SEL_W<'_, RETENTION_CTRL_SPEC>
pub fn retention_clk_sel( &mut self ) -> RETENTION_CLK_SEL_W<'_, RETENTION_CTRL_SPEC>
Bit 18 - Retention clk sel
sourcepub fn retention_done_wait(
&mut self
) -> RETENTION_DONE_WAIT_W<'_, RETENTION_CTRL_SPEC>
pub fn retention_done_wait( &mut self ) -> RETENTION_DONE_WAIT_W<'_, RETENTION_CTRL_SPEC>
Bits 19:21 - Retention done wait time
sourcepub fn retention_clkoff_wait(
&mut self
) -> RETENTION_CLKOFF_WAIT_W<'_, RETENTION_CTRL_SPEC>
pub fn retention_clkoff_wait( &mut self ) -> RETENTION_CLKOFF_WAIT_W<'_, RETENTION_CTRL_SPEC>
Bits 22:25 - Retention clkoff wait time
sourcepub fn retention_en(&mut self) -> RETENTION_EN_W<'_, RETENTION_CTRL_SPEC>
pub fn retention_en(&mut self) -> RETENTION_EN_W<'_, RETENTION_CTRL_SPEC>
Bit 26 - enable cpu retention when light sleep
sourcepub fn retention_wait(&mut self) -> RETENTION_WAIT_W<'_, RETENTION_CTRL_SPEC>
pub fn retention_wait(&mut self) -> RETENTION_WAIT_W<'_, RETENTION_CTRL_SPEC>
Bits 27:31 - wait cycles for rention operation