Home
last modified time | relevance | path

Searched refs:apb_ticks_per_us (Results 1 – 7 of 7) sorted by relevance

/hal_espressif-latest/components/esp_timer/src/
Desp_timer_impl_lac.c186 void IRAM_ATTR esp_timer_impl_update_apb_freq(uint32_t apb_ticks_per_us) in esp_timer_impl_update_apb_freq() argument
189 assert(apb_ticks_per_us >= 3 && "divider value too low"); in esp_timer_impl_update_apb_freq()
190 …assert(apb_ticks_per_us % TICKS_PER_US == 0 && "APB frequency (in MHz) should be divisible by TICK… in esp_timer_impl_update_apb_freq()
191 REG_SET_FIELD(CONFIG_REG, TIMG_LACT_DIVIDER, apb_ticks_per_us / TICKS_PER_US); in esp_timer_impl_update_apb_freq()
280 void esp_timer_private_update_apb_freq(uint32_t apb_ticks_per_us) __attribute__((alias("esp_timer_i…
Desp_timer_impl_systimer.c95 void IRAM_ATTR esp_timer_impl_update_apb_freq(uint32_t apb_ticks_per_us) in esp_timer_impl_update_apb_freq() argument
98 systimer_hal_on_apb_freq_update(&systimer_hal, apb_ticks_per_us); in esp_timer_impl_update_apb_freq()
193 void esp_timer_private_update_apb_freq(uint32_t apb_ticks_per_us) __attribute__((alias("esp_timer_i…
/hal_espressif-latest/components/hal/
Dsystimer_hal.c198 void systimer_hal_on_apb_freq_update(systimer_hal_context_t *hal, uint32_t apb_ticks_per_us) in systimer_hal_on_apb_freq_update() argument
205 if (apb_ticks_per_us != hal->us_to_ticks(1)) { in systimer_hal_on_apb_freq_update()
206 …HAL_ASSERT((hal->us_to_ticks(1) % apb_ticks_per_us) == 0 && "TICK_PER_US should be divisible by AP… in systimer_hal_on_apb_freq_update()
207 systimer_ll_set_step_for_xtal(hal->dev, hal->us_to_ticks(1) / apb_ticks_per_us); in systimer_hal_on_apb_freq_update()
/hal_espressif-latest/components/esp_timer/include/esp_private/
Desp_timer_private.h35 void esp_timer_private_update_apb_freq(uint32_t apb_ticks_per_us);
/hal_espressif-latest/components/esp_timer/private_include/
Desp_timer_impl.h88 void esp_timer_impl_update_apb_freq(uint32_t apb_ticks_per_us);
/hal_espressif-latest/components/hal/include/hal/
Dsystimer_hal.h105 void systimer_hal_on_apb_freq_update(systimer_hal_context_t *hal, uint32_t apb_ticks_per_us);
/hal_espressif-latest/components/esp_pm/
Dpm_impl.c355 uint32_t apb_ticks_per_us = MIN(ticks_per_us, 80); in on_freq_update() local
357 if (old_apb_ticks_per_us != apb_ticks_per_us) { in on_freq_update()
358 esp_timer_private_update_apb_freq(apb_ticks_per_us); in on_freq_update()