Searched refs:rtc_clk_frequency_khz (Results 1 – 3 of 3) sorted by relevance
16 static uint32_t xt_wdt_hal_calculate(uint32_t rtc_clk_frequency_khz) in xt_wdt_hal_calculate() argument33 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() argument66 uint32_t xtal32k_clk_factor = xt_wdt_hal_calculate(rtc_clk_frequency_khz); in xt_wdt_hal_enable_backup_clk()
59 …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() local60 …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()
57 uint32_t xt_wdt_hal_enable_backup_clk(xt_wdt_hal_context_t *hal, uint32_t rtc_clk_frequency_khz);