Struct esp32c3_hal::pac::rtc_cntl::retention_ctrl::R
pub struct R(_);
Expand description
Register RETENTION_CTRL
reader
Implementations
impl R
impl R
pub fn retention_clk_sel(&self) -> BitReaderRaw<bool>
pub fn retention_clk_sel(&self) -> BitReaderRaw<bool>
Bit 18 - Retention clk sel
pub fn retention_done_wait(&self) -> FieldReaderRaw<u8, u8>
pub fn retention_done_wait(&self) -> FieldReaderRaw<u8, u8>
Bits 19:21 - Retention done wait time
pub fn retention_clkoff_wait(&self) -> FieldReaderRaw<u8, u8>
pub fn retention_clkoff_wait(&self) -> FieldReaderRaw<u8, u8>
Bits 22:25 - Retention clkoff wait time
pub fn retention_en(&self) -> BitReaderRaw<bool>
pub fn retention_en(&self) -> BitReaderRaw<bool>
Bit 26 - enable cpu retention when light sleep
pub fn retention_wait(&self) -> FieldReaderRaw<u8, u8>
pub fn retention_wait(&self) -> FieldReaderRaw<u8, u8>
Bits 27:31 - wait cycles for rention operation
Methods from Deref<Target = R<RETENTION_CTRL_SPEC>>
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations
impl From<R<RETENTION_CTRL_SPEC>> for R
impl From<R<RETENTION_CTRL_SPEC>> for R
fn from(reader: R<RETENTION_CTRL_SPEC>) -> R
fn from(reader: R<RETENTION_CTRL_SPEC>) -> R
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more