Struct esp32c3::rtc_cntl::retention_ctrl::R
source · pub struct R(_);Expand description
Register RETENTION_CTRL reader
Implementations§
source§impl R
impl R
sourcepub fn retention_clk_sel(&self) -> RETENTION_CLK_SEL_R
pub fn retention_clk_sel(&self) -> RETENTION_CLK_SEL_R
Bit 18 - Retention clk sel
sourcepub fn retention_done_wait(&self) -> RETENTION_DONE_WAIT_R
pub fn retention_done_wait(&self) -> RETENTION_DONE_WAIT_R
Bits 19:21 - Retention done wait time
sourcepub fn retention_clkoff_wait(&self) -> RETENTION_CLKOFF_WAIT_R
pub fn retention_clkoff_wait(&self) -> RETENTION_CLKOFF_WAIT_R
Bits 22:25 - Retention clkoff wait time
sourcepub fn retention_en(&self) -> RETENTION_EN_R
pub fn retention_en(&self) -> RETENTION_EN_R
Bit 26 - enable cpu retention when light sleep
sourcepub fn retention_wait(&self) -> RETENTION_WAIT_R
pub fn retention_wait(&self) -> RETENTION_WAIT_R
Bits 27:31 - wait cycles for rention operation
Methods from Deref<Target = R<RETENTION_CTRL_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more