#[repr(C)]pub struct RegisterBlock { /* private fields */ }
Expand description
Register block
Implementations§
Source§impl RegisterBlock
impl RegisterBlock
Sourcepub const fn slp_timer0(&self) -> &SLP_TIMER0
pub const fn slp_timer0(&self) -> &SLP_TIMER0
0x04 - configure min sleep time
Sourcepub const fn slp_timer1(&self) -> &SLP_TIMER1
pub const fn slp_timer1(&self) -> &SLP_TIMER1
0x08 - configure sleep time hi
Sourcepub const fn time_update(&self) -> &TIME_UPDATE
pub const fn time_update(&self) -> &TIME_UPDATE
0x0c - update rtc main timer
Sourcepub const fn time_high0(&self) -> &TIME_HIGH0
pub const fn time_high0(&self) -> &TIME_HIGH0
0x14 - read rtc_main timer high bits
Sourcepub const fn reset_state(&self) -> &RESET_STATE
pub const fn reset_state(&self) -> &RESET_STATE
0x38 - get reset state
Sourcepub const fn wakeup_state(&self) -> &WAKEUP_STATE
pub const fn wakeup_state(&self) -> &WAKEUP_STATE
0x3c - configure wakeup state
Sourcepub const fn ext_xtl_conf(&self) -> &EXT_XTL_CONF
pub const fn ext_xtl_conf(&self) -> &EXT_XTL_CONF
0x60 - Reserved register
Sourcepub const fn ext_wakeup_conf(&self) -> &EXT_WAKEUP_CONF
pub const fn ext_wakeup_conf(&self) -> &EXT_WAKEUP_CONF
0x64 - ext wakeup configure
Sourcepub const fn slp_reject_conf(&self) -> &SLP_REJECT_CONF
pub const fn slp_reject_conf(&self) -> &SLP_REJECT_CONF
0x68 - reject sleep register
Sourcepub const fn cpu_period_conf(&self) -> &CPU_PERIOD_CONF
pub const fn cpu_period_conf(&self) -> &CPU_PERIOD_CONF
0x6c - conigure cpu freq
Sourcepub const fn sdio_act_conf(&self) -> &SDIO_ACT_CONF
pub const fn sdio_act_conf(&self) -> &SDIO_ACT_CONF
0x70 - No public
Sourcepub const fn slow_clk_conf(&self) -> &SLOW_CLK_CONF
pub const fn slow_clk_conf(&self) -> &SLOW_CLK_CONF
0x78 - configure slow clk
Sourcepub const fn regulator_drv_ctrl(&self) -> ®ULATOR_DRV_CTRL
pub const fn regulator_drv_ctrl(&self) -> ®ULATOR_DRV_CTRL
0x8c - No public
Sourcepub const fn wdtconfig0(&self) -> &WDTCONFIG0
pub const fn wdtconfig0(&self) -> &WDTCONFIG0
0x98 - configure rtc watch dog
Sourcepub const fn wdtconfig1(&self) -> &WDTCONFIG1
pub const fn wdtconfig1(&self) -> &WDTCONFIG1
0x9c - stage0 hold time
Sourcepub const fn wdtconfig2(&self) -> &WDTCONFIG2
pub const fn wdtconfig2(&self) -> &WDTCONFIG2
0xa0 - stage1 hold time
Sourcepub const fn wdtconfig3(&self) -> &WDTCONFIG3
pub const fn wdtconfig3(&self) -> &WDTCONFIG3
0xa4 - stage2 hold time
Sourcepub const fn wdtconfig4(&self) -> &WDTCONFIG4
pub const fn wdtconfig4(&self) -> &WDTCONFIG4
0xa8 - stage3 hold time
Sourcepub const fn wdtwprotect(&self) -> &WDTWPROTECT
pub const fn wdtwprotect(&self) -> &WDTWPROTECT
0xb0 - configure rtc watch dog
Sourcepub const fn swd_wprotect(&self) -> &SWD_WPROTECT
pub const fn swd_wprotect(&self) -> &SWD_WPROTECT
0xb8 - super watch dog key
Sourcepub const fn sw_cpu_stall(&self) -> &SW_CPU_STALL
pub const fn sw_cpu_stall(&self) -> &SW_CPU_STALL
0xbc - configure cpu stall by sw
Sourcepub const fn low_power_st(&self) -> &LOW_POWER_ST
pub const fn low_power_st(&self) -> &LOW_POWER_ST
0xd0 - reserved register
Sourcepub const fn dig_pad_hold(&self) -> &DIG_PAD_HOLD
pub const fn dig_pad_hold(&self) -> &DIG_PAD_HOLD
0xdc - configure digtal pad hold
Sourcepub const fn ext_wakeup1(&self) -> &EXT_WAKEUP1
pub const fn ext_wakeup1(&self) -> &EXT_WAKEUP1
0xe0 - configure ext1 wakeup
Sourcepub const fn ext_wakeup1_status(&self) -> &EXT_WAKEUP1_STATUS
pub const fn ext_wakeup1_status(&self) -> &EXT_WAKEUP1_STATUS
0xe4 - check ext wakeup1 status
Sourcepub const fn time_high1(&self) -> &TIME_HIGH1
pub const fn time_high1(&self) -> &TIME_HIGH1
0xf0 - RTC timer high 16 bits
Sourcepub const fn xtal32k_clk_factor(&self) -> &XTAL32K_CLK_FACTOR
pub const fn xtal32k_clk_factor(&self) -> &XTAL32K_CLK_FACTOR
0xf4 - xtal 32k watch dog backup clock factor
Sourcepub const fn xtal32k_conf(&self) -> &XTAL32K_CONF
pub const fn xtal32k_conf(&self) -> &XTAL32K_CONF
0xf8 - configure xtal32k
Sourcepub const fn ulp_cp_timer(&self) -> &ULP_CP_TIMER
pub const fn ulp_cp_timer(&self) -> &ULP_CP_TIMER
0xfc - configure ulp
Sourcepub const fn ulp_cp_ctrl(&self) -> &ULP_CP_CTRL
pub const fn ulp_cp_ctrl(&self) -> &ULP_CP_CTRL
0x100 - configure ulp
Sourcepub const fn cocpu_ctrl(&self) -> &COCPU_CTRL
pub const fn cocpu_ctrl(&self) -> &COCPU_CTRL
0x104 - configure ulp-riscv
Sourcepub const fn touch_ctrl1(&self) -> &TOUCH_CTRL1
pub const fn touch_ctrl1(&self) -> &TOUCH_CTRL1
0x108 - configure touch controller
Sourcepub const fn touch_ctrl2(&self) -> &TOUCH_CTRL2
pub const fn touch_ctrl2(&self) -> &TOUCH_CTRL2
0x10c - configure touch controller
Sourcepub const fn touch_scan_ctrl(&self) -> &TOUCH_SCAN_CTRL
pub const fn touch_scan_ctrl(&self) -> &TOUCH_SCAN_CTRL
0x110 - configure touch controller
Sourcepub const fn touch_slp_thres(&self) -> &TOUCH_SLP_THRES
pub const fn touch_slp_thres(&self) -> &TOUCH_SLP_THRES
0x114 - configure touch controller
Sourcepub const fn touch_approach(&self) -> &TOUCH_APPROACH
pub const fn touch_approach(&self) -> &TOUCH_APPROACH
0x118 - configure touch controller
Sourcepub const fn touch_filter_ctrl(&self) -> &TOUCH_FILTER_CTRL
pub const fn touch_filter_ctrl(&self) -> &TOUCH_FILTER_CTRL
0x11c - configure touch controller
Sourcepub const fn touch_timeout_ctrl(&self) -> &TOUCH_TIMEOUT_CTRL
pub const fn touch_timeout_ctrl(&self) -> &TOUCH_TIMEOUT_CTRL
0x124 - configure touch controller
Sourcepub const fn slp_reject_cause(&self) -> &SLP_REJECT_CAUSE
pub const fn slp_reject_cause(&self) -> &SLP_REJECT_CAUSE
0x128 - get reject casue
Sourcepub const fn slp_wakeup_cause(&self) -> &SLP_WAKEUP_CAUSE
pub const fn slp_wakeup_cause(&self) -> &SLP_WAKEUP_CAUSE
0x130 - get wakeup cause
Sourcepub const fn ulp_cp_timer_1(&self) -> &ULP_CP_TIMER_1
pub const fn ulp_cp_timer_1(&self) -> &ULP_CP_TIMER_1
0x134 - configure ulp sleep time
Sourcepub const fn int_ena_rtc_w1ts(&self) -> &INT_ENA_RTC_W1TS
pub const fn int_ena_rtc_w1ts(&self) -> &INT_ENA_RTC_W1TS
0x138 - oneset rtc interrupt
Sourcepub const fn int_ena_rtc_w1tc(&self) -> &INT_ENA_RTC_W1TC
pub const fn int_ena_rtc_w1tc(&self) -> &INT_ENA_RTC_W1TC
0x13c - oneset clr rtc interrupt enable
Sourcepub const fn retention_ctrl(&self) -> &RETENTION_CTRL
pub const fn retention_ctrl(&self) -> &RETENTION_CTRL
0x140 - configure retention
Sourcepub const fn touch_dac1(&self) -> &TOUCH_DAC1
pub const fn touch_dac1(&self) -> &TOUCH_DAC1
0x150 - configure touch dac
Sourcepub const fn cocpu_disable(&self) -> &COCPU_DISABLE
pub const fn cocpu_disable(&self) -> &COCPU_DISABLE
0x154 - configure ulp diable