Struct esp32s3::rtc_cntl::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {Show 87 fields
pub options0: OPTIONS0,
pub slp_timer0: SLP_TIMER0,
pub slp_timer1: SLP_TIMER1,
pub time_update: TIME_UPDATE,
pub time_low0: TIME_LOW0,
pub time_high0: TIME_HIGH0,
pub state0: STATE0,
pub timer1: TIMER1,
pub timer2: TIMER2,
pub timer3: TIMER3,
pub timer4: TIMER4,
pub timer5: TIMER5,
pub timer6: TIMER6,
pub ana_conf: ANA_CONF,
pub reset_state: RESET_STATE,
pub wakeup_state: WAKEUP_STATE,
pub int_ena_rtc: INT_ENA_RTC,
pub int_raw_rtc: INT_RAW_RTC,
pub int_st_rtc: INT_ST_RTC,
pub int_clr_rtc: INT_CLR_RTC,
pub store0: STORE0,
pub store1: STORE1,
pub store2: STORE2,
pub store3: STORE3,
pub ext_xtl_conf: EXT_XTL_CONF,
pub ext_wakeup_conf: EXT_WAKEUP_CONF,
pub slp_reject_conf: SLP_REJECT_CONF,
pub cpu_period_conf: CPU_PERIOD_CONF,
pub sdio_act_conf: SDIO_ACT_CONF,
pub clk_conf: CLK_CONF,
pub slow_clk_conf: SLOW_CLK_CONF,
pub sdio_conf: SDIO_CONF,
pub bias_conf: BIAS_CONF,
pub rtc: RTC,
pub pwc: PWC,
pub regulator_drv_ctrl: REGULATOR_DRV_CTRL,
pub dig_pwc: DIG_PWC,
pub dig_iso: DIG_ISO,
pub wdtconfig0: WDTCONFIG0,
pub wdtconfig1: WDTCONFIG1,
pub wdtconfig2: WDTCONFIG2,
pub wdtconfig3: WDTCONFIG3,
pub wdtconfig4: WDTCONFIG4,
pub wdtfeed: WDTFEED,
pub wdtwprotect: WDTWPROTECT,
pub swd_conf: SWD_CONF,
pub swd_wprotect: SWD_WPROTECT,
pub sw_cpu_stall: SW_CPU_STALL,
pub store4: STORE4,
pub store5: STORE5,
pub store6: STORE6,
pub store7: STORE7,
pub low_power_st: LOW_POWER_ST,
pub diag0: DIAG0,
pub pad_hold: PAD_HOLD,
pub dig_pad_hold: DIG_PAD_HOLD,
pub ext_wakeup1: EXT_WAKEUP1,
pub ext_wakeup1_status: EXT_WAKEUP1_STATUS,
pub brown_out: BROWN_OUT,
pub time_low1: TIME_LOW1,
pub time_high1: TIME_HIGH1,
pub xtal32k_clk_factor: XTAL32K_CLK_FACTOR,
pub xtal32k_conf: XTAL32K_CONF,
pub ulp_cp_timer: ULP_CP_TIMER,
pub ulp_cp_ctrl: ULP_CP_CTRL,
pub cocpu_ctrl: COCPU_CTRL,
pub touch_ctrl1: TOUCH_CTRL1,
pub touch_ctrl2: TOUCH_CTRL2,
pub touch_scan_ctrl: TOUCH_SCAN_CTRL,
pub touch_slp_thres: TOUCH_SLP_THRES,
pub touch_approach: TOUCH_APPROACH,
pub touch_filter_ctrl: TOUCH_FILTER_CTRL,
pub usb_conf: USB_CONF,
pub touch_timeout_ctrl: TOUCH_TIMEOUT_CTRL,
pub slp_reject_cause: SLP_REJECT_CAUSE,
pub option1: OPTION1,
pub slp_wakeup_cause: SLP_WAKEUP_CAUSE,
pub ulp_cp_timer_1: ULP_CP_TIMER_1,
pub int_ena_rtc_w1ts: INT_ENA_RTC_W1TS,
pub int_ena_rtc_w1tc: INT_ENA_RTC_W1TC,
pub retention_ctrl: RETENTION_CTRL,
pub pg_ctrl: PG_CTRL,
pub fib_sel: FIB_SEL,
pub touch_dac: TOUCH_DAC,
pub touch_dac1: TOUCH_DAC1,
pub cocpu_disable: COCPU_DISABLE,
pub date: DATE,
/* private fields */
}
Expand description
Register block
Fields§
§options0: OPTIONS0
0x00 - RTC common configure register
slp_timer0: SLP_TIMER0
0x04 - configure min sleep time
slp_timer1: SLP_TIMER1
0x08 - configure sleep time hi
time_update: TIME_UPDATE
0x0c - update rtc main timer
time_low0: TIME_LOW0
0x10 - read rtc_main timer low bits
time_high0: TIME_HIGH0
0x14 - read rtc_main timer high bits
state0: STATE0
0x18 - configure chip sleep
timer1: TIMER1
0x1c - rtc state wait time
timer2: TIMER2
0x20 - rtc monitor state delay time
timer3: TIMER3
0x24 - No public
timer4: TIMER4
0x28 - No public
timer5: TIMER5
0x2c - configure min sleep time
timer6: TIMER6
0x30 - No public
ana_conf: ANA_CONF
0x34 - analog configure register
reset_state: RESET_STATE
0x38 - get reset state
wakeup_state: WAKEUP_STATE
0x3c - configure wakeup state
int_ena_rtc: INT_ENA_RTC
0x40 - configure rtc interrupt register
int_raw_rtc: INT_RAW_RTC
0x44 - rtc interrupt register
int_st_rtc: INT_ST_RTC
0x48 - rtc interrupt register
int_clr_rtc: INT_CLR_RTC
0x4c - rtc interrupt register
store0: STORE0
0x50 - Reserved register
store1: STORE1
0x54 - Reserved register
store2: STORE2
0x58 - Reserved register
store3: STORE3
0x5c - Reserved register
ext_xtl_conf: EXT_XTL_CONF
0x60 - Reserved register
ext_wakeup_conf: EXT_WAKEUP_CONF
0x64 - ext wakeup configure
slp_reject_conf: SLP_REJECT_CONF
0x68 - reject sleep register
cpu_period_conf: CPU_PERIOD_CONF
0x6c - conigure cpu freq
sdio_act_conf: SDIO_ACT_CONF
0x70 - No public
clk_conf: CLK_CONF
0x74 - configure clock register
slow_clk_conf: SLOW_CLK_CONF
0x78 - configure slow clk
sdio_conf: SDIO_CONF
0x7c - configure flash power
bias_conf: BIAS_CONF
0x80 - No public
rtc: RTC
0x84 - configure rtc regulator
pwc: PWC
0x88 - configure rtc power
regulator_drv_ctrl: REGULATOR_DRV_CTRL
0x8c - No public
dig_pwc: DIG_PWC
0x90 - configure digital power
dig_iso: DIG_ISO
0x94 - congigure digital power isolation
wdtconfig0: WDTCONFIG0
0x98 - configure rtc watch dog
wdtconfig1: WDTCONFIG1
0x9c - stage0 hold time
wdtconfig2: WDTCONFIG2
0xa0 - stage1 hold time
wdtconfig3: WDTCONFIG3
0xa4 - stage2 hold time
wdtconfig4: WDTCONFIG4
0xa8 - stage3 hold time
wdtfeed: WDTFEED
0xac - rtc wdt feed
wdtwprotect: WDTWPROTECT
0xb0 - configure rtc watch dog
swd_conf: SWD_CONF
0xb4 - congfigure super watch dog
swd_wprotect: SWD_WPROTECT
0xb8 - super watch dog key
sw_cpu_stall: SW_CPU_STALL
0xbc - configure cpu stall by sw
store4: STORE4
0xc0 - reserved register
store5: STORE5
0xc4 - reserved register
store6: STORE6
0xc8 - reserved register
store7: STORE7
0xcc - reserved register
low_power_st: LOW_POWER_ST
0xd0 - reserved register
diag0: DIAG0
0xd4 - No public
pad_hold: PAD_HOLD
0xd8 - rtc pad hold configure
dig_pad_hold: DIG_PAD_HOLD
0xdc - configure digtal pad hold
ext_wakeup1: EXT_WAKEUP1
0xe0 - configure ext1 wakeup
ext_wakeup1_status: EXT_WAKEUP1_STATUS
0xe4 - check ext wakeup1 status
brown_out: BROWN_OUT
0xe8 - congfigure brownout
time_low1: TIME_LOW1
0xec - RTC timer low 32 bits
time_high1: TIME_HIGH1
0xf0 - RTC timer high 16 bits
xtal32k_clk_factor: XTAL32K_CLK_FACTOR
0xf4 - xtal 32k watch dog backup clock factor
xtal32k_conf: XTAL32K_CONF
0xf8 - configure xtal32k
ulp_cp_timer: ULP_CP_TIMER
0xfc - configure ulp
ulp_cp_ctrl: ULP_CP_CTRL
0x100 - configure ulp
cocpu_ctrl: COCPU_CTRL
0x104 - configure ulp-riscv
touch_ctrl1: TOUCH_CTRL1
0x108 - configure touch controller
touch_ctrl2: TOUCH_CTRL2
0x10c - configure touch controller
touch_scan_ctrl: TOUCH_SCAN_CTRL
0x110 - configure touch controller
touch_slp_thres: TOUCH_SLP_THRES
0x114 - configure touch controller
touch_approach: TOUCH_APPROACH
0x118 - configure touch controller
touch_filter_ctrl: TOUCH_FILTER_CTRL
0x11c - configure touch controller
usb_conf: USB_CONF
0x120 - usb configure
touch_timeout_ctrl: TOUCH_TIMEOUT_CTRL
0x124 - configure touch controller
slp_reject_cause: SLP_REJECT_CAUSE
0x128 - get reject casue
option1: OPTION1
0x12c - rtc common configure
slp_wakeup_cause: SLP_WAKEUP_CAUSE
0x130 - get wakeup cause
ulp_cp_timer_1: ULP_CP_TIMER_1
0x134 - configure ulp sleep time
int_ena_rtc_w1ts: INT_ENA_RTC_W1TS
0x138 - oneset rtc interrupt
int_ena_rtc_w1tc: INT_ENA_RTC_W1TC
0x13c - oneset clr rtc interrupt enable
retention_ctrl: RETENTION_CTRL
0x140 - configure retention
pg_ctrl: PG_CTRL
0x144 - configure power glitch
fib_sel: FIB_SEL
0x148 - No public
touch_dac: TOUCH_DAC
0x14c - configure touch dac
touch_dac1: TOUCH_DAC1
0x150 - configure touch dac
cocpu_disable: COCPU_DISABLE
0x154 - configure ulp diable
date: DATE
0x1fc - version register