Struct esp32c2_hal::pac::rtc_cntl::slp_timer1::R
pub struct R(_);
Expand description
Register SLP_TIMER1
reader
Implementations§
§impl R
impl R
pub fn slp_val_hi(&self) -> FieldReaderRaw<u16, u16>
pub fn slp_val_hi(&self) -> FieldReaderRaw<u16, u16>
Bits 0:15 - RTC sleep timer high 16 bits
pub fn main_timer_alarm_en(&self) -> BitReaderRaw<bool>
pub fn main_timer_alarm_en(&self) -> BitReaderRaw<bool>
Bit 16 - timer alarm enable bit
Methods from Deref<Target = R<SLP_TIMER1_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<SLP_TIMER1_SPEC>> for R
impl From<R<SLP_TIMER1_SPEC>> for R
§fn from(reader: R<SLP_TIMER1_SPEC>) -> R
fn from(reader: R<SLP_TIMER1_SPEC>) -> R
Converts to this type from the input type.