Type Alias esp32c3::rtc_cntl::retention_ctrl::R

source ·
pub type R = R<RETENTION_CTRL_SPEC>;
Expand description

Register RETENTION_CTRL reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn retention_clk_sel(&self) -> RETENTION_CLK_SEL_R

Bit 18 - Retention clk sel

source

pub fn retention_done_wait(&self) -> RETENTION_DONE_WAIT_R

Bits 19:21 - Retention done wait time

source

pub fn retention_clkoff_wait(&self) -> RETENTION_CLKOFF_WAIT_R

Bits 22:25 - Retention clkoff wait time

source

pub fn retention_en(&self) -> RETENTION_EN_R

Bit 26 - enable cpu retention when light sleep

source

pub fn retention_wait(&self) -> RETENTION_WAIT_R

Bits 27:31 - wait cycles for rention operation