pub struct RTC_CNTL { /* private fields */ }
Expand description
Real-Time Clock Control
Implementations§
source§impl RTC_CNTL
impl RTC_CNTL
sourcepub const PTR: *const RegisterBlock = {0x60008000 as *const rtc_cntl::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x60008000 as *const rtc_cntl::RegisterBlock}
Pointer to the register block
sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
sourcepub unsafe fn steal() -> Self
pub unsafe fn steal() -> Self
Steal an instance of this peripheral
Safety
Ensure that the new instance of the peripheral cannot be used in a way that may race with any existing instances, for example by only accessing read-only or write-only registers, or by consuming the original peripheral and using critical sections to coordinate access between multiple new instances.
Additionally, other software such as HALs may rely on only one peripheral instance existing to ensure memory safety; ensure no stolen instances are passed to such software.
Methods from Deref<Target = RegisterBlock>§
sourcepub fn slp_timer0(&self) -> &SLP_TIMER0
pub fn slp_timer0(&self) -> &SLP_TIMER0
0x04 - register description
sourcepub fn slp_timer1(&self) -> &SLP_TIMER1
pub fn slp_timer1(&self) -> &SLP_TIMER1
0x08 - register description
sourcepub fn time_update(&self) -> &TIME_UPDATE
pub fn time_update(&self) -> &TIME_UPDATE
0x0c - register description
sourcepub fn time_high0(&self) -> &TIME_HIGH0
pub fn time_high0(&self) -> &TIME_HIGH0
0x14 - register description
sourcepub fn reset_state(&self) -> &RESET_STATE
pub fn reset_state(&self) -> &RESET_STATE
0x30 - register description
sourcepub fn wakeup_state(&self) -> &WAKEUP_STATE
pub fn wakeup_state(&self) -> &WAKEUP_STATE
0x34 - register description
sourcepub fn int_ena_rtc(&self) -> &INT_ENA_RTC
pub fn int_ena_rtc(&self) -> &INT_ENA_RTC
0x38 - register description
sourcepub fn int_raw_rtc(&self) -> &INT_RAW_RTC
pub fn int_raw_rtc(&self) -> &INT_RAW_RTC
0x3c - register description
sourcepub fn int_st_rtc(&self) -> &INT_ST_RTC
pub fn int_st_rtc(&self) -> &INT_ST_RTC
0x40 - register description
sourcepub fn int_clr_rtc(&self) -> &INT_CLR_RTC
pub fn int_clr_rtc(&self) -> &INT_CLR_RTC
0x44 - register description
sourcepub fn ext_xtl_conf(&self) -> &EXT_XTL_CONF
pub fn ext_xtl_conf(&self) -> &EXT_XTL_CONF
0x58 - register description
sourcepub fn ext_wakeup_conf(&self) -> &EXT_WAKEUP_CONF
pub fn ext_wakeup_conf(&self) -> &EXT_WAKEUP_CONF
0x5c - register description
sourcepub fn slp_reject_conf(&self) -> &SLP_REJECT_CONF
pub fn slp_reject_conf(&self) -> &SLP_REJECT_CONF
0x60 - register description
sourcepub fn cpu_period_conf(&self) -> &CPU_PERIOD_CONF
pub fn cpu_period_conf(&self) -> &CPU_PERIOD_CONF
0x64 - register description
sourcepub fn slow_clk_conf(&self) -> &SLOW_CLK_CONF
pub fn slow_clk_conf(&self) -> &SLOW_CLK_CONF
0x6c - register description
sourcepub fn wdtconfig0(&self) -> &WDTCONFIG0
pub fn wdtconfig0(&self) -> &WDTCONFIG0
0x84 - register description
sourcepub fn wdtconfig1(&self) -> &WDTCONFIG1
pub fn wdtconfig1(&self) -> &WDTCONFIG1
0x88 - register description
sourcepub fn wdtconfig2(&self) -> &WDTCONFIG2
pub fn wdtconfig2(&self) -> &WDTCONFIG2
0x8c - register description
sourcepub fn wdtconfig3(&self) -> &WDTCONFIG3
pub fn wdtconfig3(&self) -> &WDTCONFIG3
0x90 - register description
sourcepub fn wdtconfig4(&self) -> &WDTCONFIG4
pub fn wdtconfig4(&self) -> &WDTCONFIG4
0x94 - register description
sourcepub fn wdtwprotect(&self) -> &WDTWPROTECT
pub fn wdtwprotect(&self) -> &WDTWPROTECT
0x9c - register description
sourcepub fn swd_wprotect(&self) -> &SWD_WPROTECT
pub fn swd_wprotect(&self) -> &SWD_WPROTECT
0xa4 - register description
sourcepub fn sw_cpu_stall(&self) -> &SW_CPU_STALL
pub fn sw_cpu_stall(&self) -> &SW_CPU_STALL
0xa8 - register description
sourcepub fn low_power_st(&self) -> &LOW_POWER_ST
pub fn low_power_st(&self) -> &LOW_POWER_ST
0xbc - register description
sourcepub fn dig_pad_hold(&self) -> &DIG_PAD_HOLD
pub fn dig_pad_hold(&self) -> &DIG_PAD_HOLD
0xc8 - register description
sourcepub fn time_high1(&self) -> &TIME_HIGH1
pub fn time_high1(&self) -> &TIME_HIGH1
0xd4 - register description
sourcepub fn slp_reject_cause(&self) -> &SLP_REJECT_CAUSE
pub fn slp_reject_cause(&self) -> &SLP_REJECT_CAUSE
0xdc - register description
sourcepub fn slp_wakeup_cause(&self) -> &SLP_WAKEUP_CAUSE
pub fn slp_wakeup_cause(&self) -> &SLP_WAKEUP_CAUSE
0xe4 - register description
sourcepub fn ulp_cp_timer_1(&self) -> &ULP_CP_TIMER_1
pub fn ulp_cp_timer_1(&self) -> &ULP_CP_TIMER_1
0xe8 - register description
sourcepub fn int_ena_rtc_w1ts(&self) -> &INT_ENA_RTC_W1TS
pub fn int_ena_rtc_w1ts(&self) -> &INT_ENA_RTC_W1TS
0xec - register description
sourcepub fn int_ena_rtc_w1tc(&self) -> &INT_ENA_RTC_W1TC
pub fn int_ena_rtc_w1tc(&self) -> &INT_ENA_RTC_W1TC
0xf0 - register description
sourcepub fn cntl_retention_ctrl(&self) -> &CNTL_RETENTION_CTRL
pub fn cntl_retention_ctrl(&self) -> &CNTL_RETENTION_CTRL
0xf4 - register description
sourcepub fn cntl_gpio_wakeup(&self) -> &CNTL_GPIO_WAKEUP
pub fn cntl_gpio_wakeup(&self) -> &CNTL_GPIO_WAKEUP
0xfc - register description
sourcepub fn cntl_dbg_sel(&self) -> &CNTL_DBG_SEL
pub fn cntl_dbg_sel(&self) -> &CNTL_DBG_SEL
0x100 - register description
sourcepub fn cntl_dbg_map(&self) -> &CNTL_DBG_MAP
pub fn cntl_dbg_map(&self) -> &CNTL_DBG_MAP
0x104 - register description
sourcepub fn cntl_sensor_ctrl(&self) -> &CNTL_SENSOR_CTRL
pub fn cntl_sensor_ctrl(&self) -> &CNTL_SENSOR_CTRL
0x108 - register description
sourcepub fn cntl_dbg_sar_sel(&self) -> &CNTL_DBG_SAR_SEL
pub fn cntl_dbg_sar_sel(&self) -> &CNTL_DBG_SAR_SEL
0x10c - register description