![]()
![]()
#include <stdbool.h>
![]()
![]()
#include <stddef.h>
![]()
![]()
#include <stdint.h>
![]()
![]()
#include "soc/soc.h"
![]()
![]()
#include "soc/rtc_periph.h"
![]()
![]()
#include "soc/clk_tree_defs.h"
![]()
![]()
...
![]()
![]()
#define MHZ
![]()
![]()
#define SOC_DELAY_PLL_DBIAS_RAISE
![]()
![]()
#define SOC_DELAY_PLL_ENABLE_WITH_150K
![]()
![]()
#define SOC_DELAY_PLL_ENABLE_WITH_32K
![]()
![]()
#define SOC_DELAY_RTC_FAST_CLK_SWITCH
![]()
![]()
#define SOC_DELAY_RTC_SLOW_CLK_SWITCH
![]()
![]()
#define SOC_DELAY_RC_FAST_ENABLE
![]()
![]()
#define SOC_DELAY_RC_FAST_DIGI_SWITCH
![]()
![]()
#define RTC_CNTL_DBIAS_HP_VOLT
![]()
![]()
#define DIG_DBIAS_80M_160M
![]()
![]()
#define DIG_DBIAS_80M_160M
![]()
![]()
#define DIG_DBIAS_240M
![]()
![]()
#define DIG_DBIAS_XTAL
![]()
![]()
#define DIG_DBIAS_2M
![]()
![]()
rtc_cpu_freq_config_s
![]()
![]()
source
![]()
![]()
source_freq_mhz
![]()
![]()
div
![]()
![]()
freq_mhz
![]()
![]()
rtc_cal_sel_t
![]()
![]()
RTC_CAL_RTC_MUX
![]()
![]()
RTC_CAL_8MD256
![]()
![]()
RTC_CAL_32K_XTAL
![]()
![]()
rtc_clk_config_s
![]()
![]()
xtal_freq
![]()
![]()
cpu_freq_mhz
![]()
![]()
fast_clk_src
![]()
![]()
slow_clk_src
![]()
![]()
clk_8m_div
![]()
![]()
slow_clk_dcap
![]()
![]()
clk_8m_dfreq
![]()
![]()
rtc_clk_init(rtc_clk_config_t);
![]()
![]()
rtc_clk_xtal_freq_get();
![]()
![]()
rtc_clk_xtal_freq_update(soc_xtal_freq_t);
![]()
![]()
rtc_clk_32k_enable(bool);
![]()
![]()
rtc_clk_32k_enable_external();
![]()
![]()
rtc_clk_32k_enabled();
![]()
![]()
rtc_clk_32k_bootstrap(uint32_t);
![]()
![]()
rtc_clk_8m_enable(bool, bool);
![]()
![]()
rtc_clk_8m_enabled();
![]()
![]()
rtc_clk_8md256_enabled();
![]()
![]()
rtc_clk_apll_enable(bool);
![]()
![]()
rtc_clk_apll_coeff_calc(uint32_t, uint32_t *, uint32_t *, uint32_t *, uint32_t *);
![]()
![]()
rtc_clk_apll_coeff_set(uint32_t, uint32_t, uint32_t, uint32_t);
![]()
![]()
rtc_clk_slow_src_set(soc_rtc_slow_clk_src_t);
![]()
![]()
rtc_clk_slow_src_get();
![]()
![]()
rtc_clk_slow_freq_get_hz();
![]()
![]()
rtc_clk_fast_src_set(soc_rtc_fast_clk_src_t);
![]()
![]()
rtc_clk_fast_src_get();
![]()
![]()
rtc_clk_cpu_freq_mhz_to_config(uint32_t, rtc_cpu_freq_config_t *);
![]()
![]()
rtc_clk_cpu_freq_set_config(const rtc_cpu_freq_config_t *);
![]()
![]()
rtc_clk_cpu_freq_set_config_fast(const rtc_cpu_freq_config_t *);
![]()
![]()
rtc_clk_cpu_freq_get_config(rtc_cpu_freq_config_t *);
![]()
![]()
rtc_clk_cpu_freq_set_xtal();
![]()
![]()
rtc_clk_apb_freq_update(uint32_t);
![]()
![]()
rtc_clk_apb_freq_get();
![]()
![]()
#define RTC_CLK_CAL_FRACT
![]()
![]()
rtc_clk_cal(rtc_cal_sel_t, uint32_t);
![]()
![]()
rtc_clk_cal_ratio(rtc_cal_sel_t, uint32_t);
![]()
![]()
rtc_time_us_to_slowclk(uint64_t, uint32_t);
![]()
![]()
rtc_time_slowclk_to_us(uint64_t, uint32_t);
![]()
![]()
rtc_time_get();
![]()
![]()
rtc_clk_wait_for_slow_cycle();
![]()
![]()
rtc_dig_clk8m_enable();
![]()
![]()
rtc_dig_clk8m_disable();
![]()
![]()
rtc_dig_8m_enabled();
![]()
![]()
rtc_clk_freq_cal(uint32_t);
![]()
![]()
rtc_sleep_config_s
![]()
![]()
lslp_mem_inf_fpu
![]()
![]()
rtc_mem_inf_fpu
![]()
![]()
rtc_mem_inf_follow_cpu
![]()
![]()
rtc_fastmem_pd_en
![]()
![]()
rtc_slowmem_pd_en
![]()
![]()
rtc_peri_pd_en
![]()
![]()
modem_pd_en
![]()
![]()
int_8m_pd_en
![]()
![]()
rom_mem_pd_en
![]()
![]()
deep_slp
![]()
![]()
wdt_flashboot_mod_en
![]()
![]()
dig_dbias_wak
![]()
![]()
dig_dbias_slp
![]()
![]()
rtc_dbias_wak
![]()
![]()
rtc_dbias_slp
![]()
![]()
lslp_meminf_pd
![]()
![]()
vddsdio_pd_en
![]()
![]()
xtal_fpu
![]()
![]()
deep_slp_reject
![]()
![]()
light_slp_reject
![]()
![]()
dbg_atten_slp
![]()
![]()
#define RTC_SLEEP_PD_DIG
![]()
![]()
#define RTC_SLEEP_PD_RTC_PERIPH
![]()
![]()
#define RTC_SLEEP_PD_RTC_SLOW_MEM
![]()
![]()
#define RTC_SLEEP_PD_RTC_FAST_MEM
![]()
![]()
#define RTC_SLEEP_PD_RTC_MEM_FOLLOW_CPU
![]()
![]()
#define RTC_SLEEP_PD_VDDSDIO
![]()
![]()
#define RTC_SLEEP_PD_MODEM
![]()
![]()
#define RTC_SLEEP_PD_XTAL
![]()
![]()
#define RTC_SLEEP_PD_INT_8M
![]()
![]()
#define RTC_SLEEP_DIG_USE_8M
![]()
![]()
#define RTC_SLEEP_USE_ADC_TESEN_MONITOR
![]()
![]()
#define RTC_SLEEP_NO_ULTRA_LOW
![]()
![]()
#define RTC_SLEEP_XTAL_AS_RTC_FAST
![]()
![]()
rtc_sleep_get_default_config(uint32_t, rtc_sleep_config_t *);
![]()
![]()
#define RTC_CNTL_XTL_BUF_WAIT_SLP_US
![]()
![]()
#define RTC_CNTL_PLL_BUF_WAIT_SLP_CYCLES
![]()
![]()
#define RTC_CNTL_CK8M_WAIT_SLP_CYCLES
![]()
![]()
#define RTC_CNTL_WAKEUP_DELAY_CYCLES
![]()
![]()
#define RTC_CNTL_OTHER_BLOCKS_POWERUP_CYCLES
![]()
![]()
#define RTC_CNTL_OTHER_BLOCKS_WAIT_CYCLES
![]()
![]()
#define RTC_CNTL_MIN_SLP_VAL_MIN
![]()
![]()
#define RTC_CNTL_CK8M_WAIT_DEFAULT
![]()
![]()
#define RTC_CK8M_ENABLE_WAIT_DEFAULT
![]()
![]()
rtc_sleep_init(rtc_sleep_config_t);
![]()
![]()
rtc_sleep_low_init(uint32_t);
![]()
![]()
#define RTC_EXT0_TRIG_EN
![]()
![]()
#define RTC_EXT1_TRIG_EN
![]()
![]()
#define RTC_GPIO_TRIG_EN
![]()
![]()
#define RTC_TIMER_TRIG_EN
![]()
![]()
#define RTC_SDIO_TRIG_EN
![]()
![]()
#define RTC_MAC_TRIG_EN
![]()
![]()
#define RTC_UART0_TRIG_EN
![]()
![]()
#define RTC_UART1_TRIG_EN
![]()
![]()
#define RTC_TOUCH_TRIG_EN
![]()
![]()
#define RTC_ULP_TRIG_EN
![]()
![]()
#define RTC_BT_TRIG_EN
![]()
![]()
#define RTC_SLEEP_REJECT_MASK
![]()
![]()
rtc_sleep_start(uint32_t, uint32_t);
![]()
![]()
rtc_deep_sleep_start(uint32_t, uint32_t);
![]()
![]()
rtc_config_s
![]()
![]()
ck8m_wait
![]()
![]()
xtal_wait
![]()
![]()
pll_wait
![]()
![]()
clkctl_init
![]()
![]()
pwrctl_init
![]()
![]()
rtc_dboost_fpd
![]()
![]()
rtc_init(rtc_config_t);
![]()
![]()
#define RTC_VDDSDIO_TIEH_1_8V
![]()
![]()
#define RTC_VDDSDIO_TIEH_3_3V
![]()
![]()
rtc_vddsdio_config_s
![]()
![]()
force
![]()
![]()
enable
![]()
![]()
tieh
![]()
![]()
drefh
![]()
![]()
drefm
![]()
![]()
drefl
![]()
![]()
rtc_vddsdio_get_config();
![]()
![]()
rtc_vddsdio_set_config(rtc_vddsdio_config_t);
![]()
![]()
CLOCK TREE DEFS ALIAS
![]()
![]()
rtc_cpu_freq_src_t
![]()
![]()
#define RTC_CPU_FREQ_SRC_XTAL
![]()
![]()
#define RTC_CPU_FREQ_SRC_PLL
![]()
![]()
#define RTC_CPU_FREQ_SRC_8M
![]()
![]()
#define RTC_CPU_FREQ_SRC_APLL
![]()
![]()
rtc_slow_freq_t
![]()
![]()
#define RTC_SLOW_FREQ_RTC
![]()
![]()
#define RTC_SLOW_FREQ_32K_XTAL
![]()
![]()
#define RTC_SLOW_FREQ_8MD256
![]()
![]()
rtc_fast_freq_t
![]()
![]()
#define RTC_FAST_FREQ_XTALD4
![]()
![]()
#define RTC_FAST_FREQ_8M
![]()
![]()
rtc_xtal_freq_t
![]()
![]()
#define RTC_XTAL_FREQ_AUTO
![]()
![]()
#define RTC_XTAL_FREQ_40M
![]()
![]()
#define RTC_XTAL_FREQ_26M
![]()
![]()
#define RTC_XTAL_FREQ_24M
![]()
![]()
#define RTC_FAST_CLK_FREQ_APPROX
![]()
![]()
#define RTC_FAST_CLK_FREQ_8M
![]()
![]()
#define RTC_SLOW_CLK_FREQ_150K
![]()
![]()
#define RTC_SLOW_CLK_FREQ_8MD256
![]()
![]()
#define RTC_SLOW_CLK_FREQ_32K
![]()
![]()
#define rtc_clk_slow_freq_set
![]()
![]()
#define rtc_clk_slow_freq_get
![]()
![]()
#define rtc_clk_fast_freq_set
![]()
![]()
#define rtc_clk_fast_freq_get