Struct esp32s3_hal::peripherals::LPWR
source · pub struct LPWR { /* private fields */ }
Implementations§
source§impl LPWR
impl LPWR
sourcepub unsafe fn steal() -> LPWR
pub unsafe fn steal() -> LPWR
Unsafely create an instance of this peripheral out of thin air.
§Safety
You must ensure that you’re only using one instance of this type at a time.
Methods from Deref<Target = RegisterBlock>§
sourcepub fn options0(&self) -> &Reg<OPTIONS0_SPEC>
pub fn options0(&self) -> &Reg<OPTIONS0_SPEC>
0x00 - RTC common configure register
sourcepub fn slp_timer0(&self) -> &Reg<SLP_TIMER0_SPEC>
pub fn slp_timer0(&self) -> &Reg<SLP_TIMER0_SPEC>
0x04 - configure min sleep time
sourcepub fn slp_timer1(&self) -> &Reg<SLP_TIMER1_SPEC>
pub fn slp_timer1(&self) -> &Reg<SLP_TIMER1_SPEC>
0x08 - configure sleep time hi
sourcepub fn time_update(&self) -> &Reg<TIME_UPDATE_SPEC>
pub fn time_update(&self) -> &Reg<TIME_UPDATE_SPEC>
0x0c - update rtc main timer
sourcepub fn time_low0(&self) -> &Reg<TIME_LOW0_SPEC>
pub fn time_low0(&self) -> &Reg<TIME_LOW0_SPEC>
0x10 - read rtc_main timer low bits
sourcepub fn time_high0(&self) -> &Reg<TIME_HIGH0_SPEC>
pub fn time_high0(&self) -> &Reg<TIME_HIGH0_SPEC>
0x14 - read rtc_main timer high bits
sourcepub fn state0(&self) -> &Reg<STATE0_SPEC>
pub fn state0(&self) -> &Reg<STATE0_SPEC>
0x18 - configure chip sleep
sourcepub fn timer1(&self) -> &Reg<TIMER1_SPEC>
pub fn timer1(&self) -> &Reg<TIMER1_SPEC>
0x1c - rtc state wait time
sourcepub fn timer2(&self) -> &Reg<TIMER2_SPEC>
pub fn timer2(&self) -> &Reg<TIMER2_SPEC>
0x20 - rtc monitor state delay time
sourcepub fn timer3(&self) -> &Reg<TIMER3_SPEC>
pub fn timer3(&self) -> &Reg<TIMER3_SPEC>
0x24 - No public
sourcepub fn timer4(&self) -> &Reg<TIMER4_SPEC>
pub fn timer4(&self) -> &Reg<TIMER4_SPEC>
0x28 - No public
sourcepub fn timer5(&self) -> &Reg<TIMER5_SPEC>
pub fn timer5(&self) -> &Reg<TIMER5_SPEC>
0x2c - configure min sleep time
sourcepub fn timer6(&self) -> &Reg<TIMER6_SPEC>
pub fn timer6(&self) -> &Reg<TIMER6_SPEC>
0x30 - No public
sourcepub fn ana_conf(&self) -> &Reg<ANA_CONF_SPEC>
pub fn ana_conf(&self) -> &Reg<ANA_CONF_SPEC>
0x34 - analog configure register
sourcepub fn reset_state(&self) -> &Reg<RESET_STATE_SPEC>
pub fn reset_state(&self) -> &Reg<RESET_STATE_SPEC>
0x38 - get reset state
sourcepub fn wakeup_state(&self) -> &Reg<WAKEUP_STATE_SPEC>
pub fn wakeup_state(&self) -> &Reg<WAKEUP_STATE_SPEC>
0x3c - configure wakeup state
sourcepub fn int_ena_rtc(&self) -> &Reg<INT_ENA_RTC_SPEC>
pub fn int_ena_rtc(&self) -> &Reg<INT_ENA_RTC_SPEC>
0x40 - configure rtc interrupt register
sourcepub fn int_raw_rtc(&self) -> &Reg<INT_RAW_RTC_SPEC>
pub fn int_raw_rtc(&self) -> &Reg<INT_RAW_RTC_SPEC>
0x44 - rtc interrupt register
sourcepub fn int_st_rtc(&self) -> &Reg<INT_ST_RTC_SPEC>
pub fn int_st_rtc(&self) -> &Reg<INT_ST_RTC_SPEC>
0x48 - rtc interrupt register
sourcepub fn int_clr_rtc(&self) -> &Reg<INT_CLR_RTC_SPEC>
pub fn int_clr_rtc(&self) -> &Reg<INT_CLR_RTC_SPEC>
0x4c - rtc interrupt register
sourcepub fn store0(&self) -> &Reg<STORE0_SPEC>
pub fn store0(&self) -> &Reg<STORE0_SPEC>
0x50 - Reserved register
sourcepub fn store1(&self) -> &Reg<STORE1_SPEC>
pub fn store1(&self) -> &Reg<STORE1_SPEC>
0x54 - Reserved register
sourcepub fn store2(&self) -> &Reg<STORE2_SPEC>
pub fn store2(&self) -> &Reg<STORE2_SPEC>
0x58 - Reserved register
sourcepub fn store3(&self) -> &Reg<STORE3_SPEC>
pub fn store3(&self) -> &Reg<STORE3_SPEC>
0x5c - Reserved register
sourcepub fn ext_xtl_conf(&self) -> &Reg<EXT_XTL_CONF_SPEC>
pub fn ext_xtl_conf(&self) -> &Reg<EXT_XTL_CONF_SPEC>
0x60 - Reserved register
sourcepub fn ext_wakeup_conf(&self) -> &Reg<EXT_WAKEUP_CONF_SPEC>
pub fn ext_wakeup_conf(&self) -> &Reg<EXT_WAKEUP_CONF_SPEC>
0x64 - ext wakeup configure
sourcepub fn slp_reject_conf(&self) -> &Reg<SLP_REJECT_CONF_SPEC>
pub fn slp_reject_conf(&self) -> &Reg<SLP_REJECT_CONF_SPEC>
0x68 - reject sleep register
sourcepub fn cpu_period_conf(&self) -> &Reg<CPU_PERIOD_CONF_SPEC>
pub fn cpu_period_conf(&self) -> &Reg<CPU_PERIOD_CONF_SPEC>
0x6c - conigure cpu freq
sourcepub fn sdio_act_conf(&self) -> &Reg<SDIO_ACT_CONF_SPEC>
pub fn sdio_act_conf(&self) -> &Reg<SDIO_ACT_CONF_SPEC>
0x70 - No public
sourcepub fn clk_conf(&self) -> &Reg<CLK_CONF_SPEC>
pub fn clk_conf(&self) -> &Reg<CLK_CONF_SPEC>
0x74 - configure clock register
sourcepub fn slow_clk_conf(&self) -> &Reg<SLOW_CLK_CONF_SPEC>
pub fn slow_clk_conf(&self) -> &Reg<SLOW_CLK_CONF_SPEC>
0x78 - configure slow clk
sourcepub fn sdio_conf(&self) -> &Reg<SDIO_CONF_SPEC>
pub fn sdio_conf(&self) -> &Reg<SDIO_CONF_SPEC>
0x7c - configure flash power
sourcepub fn bias_conf(&self) -> &Reg<BIAS_CONF_SPEC>
pub fn bias_conf(&self) -> &Reg<BIAS_CONF_SPEC>
0x80 - No public
sourcepub fn regulator_drv_ctrl(&self) -> &Reg<REGULATOR_DRV_CTRL_SPEC>
pub fn regulator_drv_ctrl(&self) -> &Reg<REGULATOR_DRV_CTRL_SPEC>
0x8c - No public
sourcepub fn dig_pwc(&self) -> &Reg<DIG_PWC_SPEC>
pub fn dig_pwc(&self) -> &Reg<DIG_PWC_SPEC>
0x90 - configure digital power
sourcepub fn dig_iso(&self) -> &Reg<DIG_ISO_SPEC>
pub fn dig_iso(&self) -> &Reg<DIG_ISO_SPEC>
0x94 - congigure digital power isolation
sourcepub fn wdtconfig0(&self) -> &Reg<WDTCONFIG0_SPEC>
pub fn wdtconfig0(&self) -> &Reg<WDTCONFIG0_SPEC>
0x98 - configure rtc watch dog
sourcepub fn wdtconfig1(&self) -> &Reg<WDTCONFIG1_SPEC>
pub fn wdtconfig1(&self) -> &Reg<WDTCONFIG1_SPEC>
0x9c - stage0 hold time
sourcepub fn wdtconfig2(&self) -> &Reg<WDTCONFIG2_SPEC>
pub fn wdtconfig2(&self) -> &Reg<WDTCONFIG2_SPEC>
0xa0 - stage1 hold time
sourcepub fn wdtconfig3(&self) -> &Reg<WDTCONFIG3_SPEC>
pub fn wdtconfig3(&self) -> &Reg<WDTCONFIG3_SPEC>
0xa4 - stage2 hold time
sourcepub fn wdtconfig4(&self) -> &Reg<WDTCONFIG4_SPEC>
pub fn wdtconfig4(&self) -> &Reg<WDTCONFIG4_SPEC>
0xa8 - stage3 hold time
sourcepub fn wdtfeed(&self) -> &Reg<WDTFEED_SPEC>
pub fn wdtfeed(&self) -> &Reg<WDTFEED_SPEC>
0xac - rtc wdt feed
sourcepub fn wdtwprotect(&self) -> &Reg<WDTWPROTECT_SPEC>
pub fn wdtwprotect(&self) -> &Reg<WDTWPROTECT_SPEC>
0xb0 - configure rtc watch dog
sourcepub fn swd_conf(&self) -> &Reg<SWD_CONF_SPEC>
pub fn swd_conf(&self) -> &Reg<SWD_CONF_SPEC>
0xb4 - congfigure super watch dog
sourcepub fn swd_wprotect(&self) -> &Reg<SWD_WPROTECT_SPEC>
pub fn swd_wprotect(&self) -> &Reg<SWD_WPROTECT_SPEC>
0xb8 - super watch dog key
sourcepub fn sw_cpu_stall(&self) -> &Reg<SW_CPU_STALL_SPEC>
pub fn sw_cpu_stall(&self) -> &Reg<SW_CPU_STALL_SPEC>
0xbc - configure cpu stall by sw
sourcepub fn store4(&self) -> &Reg<STORE4_SPEC>
pub fn store4(&self) -> &Reg<STORE4_SPEC>
0xc0 - reserved register
sourcepub fn store5(&self) -> &Reg<STORE5_SPEC>
pub fn store5(&self) -> &Reg<STORE5_SPEC>
0xc4 - reserved register
sourcepub fn store6(&self) -> &Reg<STORE6_SPEC>
pub fn store6(&self) -> &Reg<STORE6_SPEC>
0xc8 - reserved register
sourcepub fn store7(&self) -> &Reg<STORE7_SPEC>
pub fn store7(&self) -> &Reg<STORE7_SPEC>
0xcc - reserved register
sourcepub fn low_power_st(&self) -> &Reg<LOW_POWER_ST_SPEC>
pub fn low_power_st(&self) -> &Reg<LOW_POWER_ST_SPEC>
0xd0 - reserved register
sourcepub fn diag0(&self) -> &Reg<DIAG0_SPEC>
pub fn diag0(&self) -> &Reg<DIAG0_SPEC>
0xd4 - No public
sourcepub fn pad_hold(&self) -> &Reg<PAD_HOLD_SPEC>
pub fn pad_hold(&self) -> &Reg<PAD_HOLD_SPEC>
0xd8 - rtc pad hold configure
sourcepub fn dig_pad_hold(&self) -> &Reg<DIG_PAD_HOLD_SPEC>
pub fn dig_pad_hold(&self) -> &Reg<DIG_PAD_HOLD_SPEC>
0xdc - configure digtal pad hold
sourcepub fn ext_wakeup1(&self) -> &Reg<EXT_WAKEUP1_SPEC>
pub fn ext_wakeup1(&self) -> &Reg<EXT_WAKEUP1_SPEC>
0xe0 - configure ext1 wakeup
sourcepub fn ext_wakeup1_status(&self) -> &Reg<EXT_WAKEUP1_STATUS_SPEC>
pub fn ext_wakeup1_status(&self) -> &Reg<EXT_WAKEUP1_STATUS_SPEC>
0xe4 - check ext wakeup1 status
sourcepub fn brown_out(&self) -> &Reg<BROWN_OUT_SPEC>
pub fn brown_out(&self) -> &Reg<BROWN_OUT_SPEC>
0xe8 - congfigure brownout
sourcepub fn time_low1(&self) -> &Reg<TIME_LOW1_SPEC>
pub fn time_low1(&self) -> &Reg<TIME_LOW1_SPEC>
0xec - RTC timer low 32 bits
sourcepub fn time_high1(&self) -> &Reg<TIME_HIGH1_SPEC>
pub fn time_high1(&self) -> &Reg<TIME_HIGH1_SPEC>
0xf0 - RTC timer high 16 bits
sourcepub fn xtal32k_clk_factor(&self) -> &Reg<XTAL32K_CLK_FACTOR_SPEC>
pub fn xtal32k_clk_factor(&self) -> &Reg<XTAL32K_CLK_FACTOR_SPEC>
0xf4 - xtal 32k watch dog backup clock factor
sourcepub fn xtal32k_conf(&self) -> &Reg<XTAL32K_CONF_SPEC>
pub fn xtal32k_conf(&self) -> &Reg<XTAL32K_CONF_SPEC>
0xf8 - configure xtal32k
sourcepub fn ulp_cp_timer(&self) -> &Reg<ULP_CP_TIMER_SPEC>
pub fn ulp_cp_timer(&self) -> &Reg<ULP_CP_TIMER_SPEC>
0xfc - configure ulp
sourcepub fn ulp_cp_ctrl(&self) -> &Reg<ULP_CP_CTRL_SPEC>
pub fn ulp_cp_ctrl(&self) -> &Reg<ULP_CP_CTRL_SPEC>
0x100 - configure ulp
sourcepub fn cocpu_ctrl(&self) -> &Reg<COCPU_CTRL_SPEC>
pub fn cocpu_ctrl(&self) -> &Reg<COCPU_CTRL_SPEC>
0x104 - configure ulp-riscv
sourcepub fn touch_ctrl1(&self) -> &Reg<TOUCH_CTRL1_SPEC>
pub fn touch_ctrl1(&self) -> &Reg<TOUCH_CTRL1_SPEC>
0x108 - configure touch controller
sourcepub fn touch_ctrl2(&self) -> &Reg<TOUCH_CTRL2_SPEC>
pub fn touch_ctrl2(&self) -> &Reg<TOUCH_CTRL2_SPEC>
0x10c - configure touch controller
sourcepub fn touch_scan_ctrl(&self) -> &Reg<TOUCH_SCAN_CTRL_SPEC>
pub fn touch_scan_ctrl(&self) -> &Reg<TOUCH_SCAN_CTRL_SPEC>
0x110 - configure touch controller
sourcepub fn touch_slp_thres(&self) -> &Reg<TOUCH_SLP_THRES_SPEC>
pub fn touch_slp_thres(&self) -> &Reg<TOUCH_SLP_THRES_SPEC>
0x114 - configure touch controller
sourcepub fn touch_approach(&self) -> &Reg<TOUCH_APPROACH_SPEC>
pub fn touch_approach(&self) -> &Reg<TOUCH_APPROACH_SPEC>
0x118 - configure touch controller
sourcepub fn touch_filter_ctrl(&self) -> &Reg<TOUCH_FILTER_CTRL_SPEC>
pub fn touch_filter_ctrl(&self) -> &Reg<TOUCH_FILTER_CTRL_SPEC>
0x11c - configure touch controller
sourcepub fn usb_conf(&self) -> &Reg<USB_CONF_SPEC>
pub fn usb_conf(&self) -> &Reg<USB_CONF_SPEC>
0x120 - usb configure
sourcepub fn touch_timeout_ctrl(&self) -> &Reg<TOUCH_TIMEOUT_CTRL_SPEC>
pub fn touch_timeout_ctrl(&self) -> &Reg<TOUCH_TIMEOUT_CTRL_SPEC>
0x124 - configure touch controller
sourcepub fn slp_reject_cause(&self) -> &Reg<SLP_REJECT_CAUSE_SPEC>
pub fn slp_reject_cause(&self) -> &Reg<SLP_REJECT_CAUSE_SPEC>
0x128 - get reject casue
sourcepub fn option1(&self) -> &Reg<OPTION1_SPEC>
pub fn option1(&self) -> &Reg<OPTION1_SPEC>
0x12c - rtc common configure
sourcepub fn slp_wakeup_cause(&self) -> &Reg<SLP_WAKEUP_CAUSE_SPEC>
pub fn slp_wakeup_cause(&self) -> &Reg<SLP_WAKEUP_CAUSE_SPEC>
0x130 - get wakeup cause
sourcepub fn ulp_cp_timer_1(&self) -> &Reg<ULP_CP_TIMER_1_SPEC>
pub fn ulp_cp_timer_1(&self) -> &Reg<ULP_CP_TIMER_1_SPEC>
0x134 - configure ulp sleep time
sourcepub fn int_ena_rtc_w1ts(&self) -> &Reg<INT_ENA_RTC_W1TS_SPEC>
pub fn int_ena_rtc_w1ts(&self) -> &Reg<INT_ENA_RTC_W1TS_SPEC>
0x138 - oneset rtc interrupt
sourcepub fn int_ena_rtc_w1tc(&self) -> &Reg<INT_ENA_RTC_W1TC_SPEC>
pub fn int_ena_rtc_w1tc(&self) -> &Reg<INT_ENA_RTC_W1TC_SPEC>
0x13c - oneset clr rtc interrupt enable
sourcepub fn retention_ctrl(&self) -> &Reg<RETENTION_CTRL_SPEC>
pub fn retention_ctrl(&self) -> &Reg<RETENTION_CTRL_SPEC>
0x140 - configure retention
sourcepub fn pg_ctrl(&self) -> &Reg<PG_CTRL_SPEC>
pub fn pg_ctrl(&self) -> &Reg<PG_CTRL_SPEC>
0x144 - configure power glitch
sourcepub fn fib_sel(&self) -> &Reg<FIB_SEL_SPEC>
pub fn fib_sel(&self) -> &Reg<FIB_SEL_SPEC>
0x148 - No public
sourcepub fn touch_dac(&self) -> &Reg<TOUCH_DAC_SPEC>
pub fn touch_dac(&self) -> &Reg<TOUCH_DAC_SPEC>
0x14c - configure touch dac
sourcepub fn touch_dac1(&self) -> &Reg<TOUCH_DAC1_SPEC>
pub fn touch_dac1(&self) -> &Reg<TOUCH_DAC1_SPEC>
0x150 - configure touch dac
sourcepub fn cocpu_disable(&self) -> &Reg<COCPU_DISABLE_SPEC>
pub fn cocpu_disable(&self) -> &Reg<COCPU_DISABLE_SPEC>
0x154 - configure ulp diable