Type Alias esp32c3::rtc_cntl::slp_timer1::W

source ·
pub type W = W<SLP_TIMER1_SPEC>;
Expand description

Register SLP_TIMER1 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn slp_val_hi(&mut self) -> SLP_VAL_HI_W<'_, SLP_TIMER1_SPEC>

Bits 0:15 - RTC sleep timer high 16 bits

source

pub fn main_timer_alarm_en( &mut self ) -> MAIN_TIMER_ALARM_EN_W<'_, SLP_TIMER1_SPEC>

Bit 16 - timer alarm enable bit