Home
last modified time | relevance | path

Searched refs:us_time_estimate (Results 1 – 5 of 5) sorted by relevance

/hal_espressif-3.6.0/components/esp_hw_support/port/esp32/
Drtc_time.c66 uint32_t us_time_estimate = (uint32_t) (((uint64_t) slowclk_cycles) * 1000000 / expected_freq); in rtc_clk_cal_internal() local
74 if (us_time_estimate >= us_timer_max) { in rtc_clk_cal_internal()
86 k_busy_wait(us_time_estimate); in rtc_clk_cal_internal()
88 esp_rom_delay_us(us_time_estimate); in rtc_clk_cal_internal()
91 int timeout_us = us_time_estimate; in rtc_clk_cal_internal()
/hal_espressif-3.6.0/components/esp_hw_support/port/esp32s3/
Drtc_time.c94 uint32_t us_time_estimate = (uint32_t) (((uint64_t) slowclk_cycles) * 1000000 / expected_freq); in rtc_clk_cal_internal() local
101 k_busy_wait(us_time_estimate); in rtc_clk_cal_internal()
103 esp_rom_delay_us(us_time_estimate); in rtc_clk_cal_internal()
/hal_espressif-3.6.0/components/esp_hw_support/port/esp32s2/
Drtc_time.c69 uint32_t us_time_estimate = (uint32_t) (((uint64_t) slowclk_cycles) * 1000000 / expected_freq); in rtc_clk_cal_internal_oneoff() local
76 k_busy_wait(us_time_estimate); in rtc_clk_cal_internal_oneoff()
78 esp_rom_delay_us(us_time_estimate); in rtc_clk_cal_internal_oneoff()
/hal_espressif-3.6.0/components/esp_hw_support/port/esp32c3/
Drtc_time.c92 uint32_t us_time_estimate = (uint32_t) (((uint64_t) slowclk_cycles) * MHZ / expected_freq); in rtc_clk_cal_internal() local
98 esp_rom_delay_us(us_time_estimate); in rtc_clk_cal_internal()
/hal_espressif-3.6.0/components/esp_hw_support/port/esp32h2/
Drtc_time.c88 uint32_t us_time_estimate = (uint32_t) (((uint64_t) slowclk_cycles) * MHZ / expected_freq); in rtc_clk_cal_internal() local
94 esp_rom_delay_us(us_time_estimate * 3); in rtc_clk_cal_internal()