Home
last modified time | relevance | path

Searched refs:rtc_clk_frequency_khz (Results 1 – 3 of 3) sorted by relevance

/hal_espressif-3.7.0/components/hal/
Dxt_wdt_hal.c16 static uint32_t xt_wdt_hal_calculate(uint32_t rtc_clk_frequency_khz) in xt_wdt_hal_calculate() argument
33 uint8_t M = ((rtc_clk_frequency_khz / 32) / 2); in xt_wdt_hal_calculate()
34 uint32_t S = ((4 * rtc_clk_frequency_khz) / 32); in xt_wdt_hal_calculate()
64 uint32_t xt_wdt_hal_enable_backup_clk(xt_wdt_hal_context_t *hal, uint32_t rtc_clk_frequency_khz) in xt_wdt_hal_enable_backup_clk() argument
66 uint32_t xtal32k_clk_factor = xt_wdt_hal_calculate(rtc_clk_frequency_khz); in xt_wdt_hal_enable_backup_clk()
/hal_espressif-3.7.0/components/esp_system/
Dxt_wdt.c59 …uint32_t rtc_clk_frequency_khz = rtc_clk_freq_cal(rtc_clk_cal(RTC_CAL_INTERNAL_OSC, RTC_CLK_CAL_CY… in esp_xt_wdt_init() local
60 …LOGD(TAG, "Calibrating backup clock from rtc clock with frequency %"PRIu32, rtc_clk_frequency_khz); in esp_xt_wdt_init()
62 xt_wdt_hal_enable_backup_clk(&s_hal_ctx, rtc_clk_frequency_khz); in esp_xt_wdt_init()
/hal_espressif-3.7.0/components/hal/include/hal/
Dxt_wdt_hal.h57 uint32_t xt_wdt_hal_enable_backup_clk(xt_wdt_hal_context_t *hal, uint32_t rtc_clk_frequency_khz);