Home
last modified time | relevance | path

Searched refs:ticks (Results 1 – 25 of 33) sorted by relevance

12

/hal_espressif-latest/components/esp_hw_support/port/esp32c2/
Dsystimer.c16 uint64_t systimer_ticks_to_us(uint64_t ticks) in systimer_ticks_to_us() argument
18 return ticks / 16; in systimer_ticks_to_us()
26 uint64_t systimer_ticks_to_us(uint64_t ticks) in systimer_ticks_to_us() argument
28 return ticks * 5 / 52; in systimer_ticks_to_us()
/hal_espressif-latest/components/esp_hw_support/
Desp_clk.c130 const uint64_t ticks = rtc_this_ticks - s_rtc_timer_retain_mem.rtc_last_ticks; in esp_rtc_get_time_us() local
132 const uint64_t ticks = rtc_time_get(); in esp_rtc_get_time_us() local
145 const uint64_t ticks_low = ticks & UINT32_MAX; in esp_rtc_get_time_us()
146 const uint64_t ticks_high = ticks >> 32; in esp_rtc_get_time_us()
184 uint64_t ticks = rtc_time_get(); in esp_clk_slowclk_cal_set()
185 const uint64_t ticks_low = ticks & UINT32_MAX; in esp_clk_slowclk_cal_set()
186 const uint64_t ticks_high = ticks >> 32; in esp_clk_slowclk_cal_set()
/hal_espressif-latest/components/bt/host/bluedroid/external/sbc/decoder/include/
Doi_bt_spec.h214 #define OI_BT_TICKS_TO_SECONDS(ticks) ((ticks)/1600) argument
216 #define OI_BT_TICKS_TO_MSECS(ticks) (((ticks)*5)/8) argument
/hal_espressif-latest/components/esp_hw_support/port/esp32c3/
Dsystimer.c14 uint64_t systimer_ticks_to_us(uint64_t ticks) in systimer_ticks_to_us() argument
16 return ticks / 16; in systimer_ticks_to_us()
/hal_espressif-latest/components/esp_hw_support/port/esp32c6/
Dsystimer.c14 uint64_t systimer_ticks_to_us(uint64_t ticks) in systimer_ticks_to_us() argument
16 return ticks / 16; in systimer_ticks_to_us()
/hal_espressif-latest/components/esp_hw_support/port/esp32h2/
Dsystimer.c13 uint64_t systimer_ticks_to_us(uint64_t ticks) in systimer_ticks_to_us() argument
15 return ticks / 16; in systimer_ticks_to_us()
/hal_espressif-latest/components/esp_hw_support/port/esp32s2/
Dsystimer.c14 uint64_t systimer_ticks_to_us(uint64_t ticks) in systimer_ticks_to_us() argument
16 return ticks / 80; in systimer_ticks_to_us()
/hal_espressif-latest/components/esp_hw_support/port/esp32s3/
Dsystimer.c14 uint64_t systimer_ticks_to_us(uint64_t ticks) in systimer_ticks_to_us() argument
16 return ticks / 16; in systimer_ticks_to_us()
/hal_espressif-latest/components/bt/porting/npl/freertos/include/nimble/
Dnimble_npl.h115 ble_npl_time_t ticks);
136 ble_npl_error_t ble_npl_time_ticks_to_ms(ble_npl_time_t ticks, uint32_t *out_ms);
140 uint32_t ble_npl_time_ticks_to_ms32(ble_npl_time_t ticks);
142 void ble_npl_time_delay(ble_npl_time_t ticks);
Dnimble_npl_os.h277 IRAM_ATTR ble_npl_callout_reset(struct ble_npl_callout *co, ble_npl_time_t ticks) in ble_npl_callout_reset() argument
279 return npl_funcs->p_ble_npl_callout_reset(co, ticks); in ble_npl_callout_reset()
326 IRAM_ATTR ble_npl_time_ticks_to_ms(ble_npl_time_t ticks, uint32_t *out_ms) in ble_npl_time_ticks_to_ms() argument
328 return npl_funcs->p_ble_npl_time_ticks_to_ms(ticks, out_ms); in ble_npl_time_ticks_to_ms()
338 IRAM_ATTR ble_npl_time_ticks_to_ms32(ble_npl_time_t ticks) in ble_npl_time_ticks_to_ms32() argument
340 return npl_funcs->p_ble_npl_time_ticks_to_ms32(ticks); in ble_npl_time_ticks_to_ms32()
344 IRAM_ATTR ble_npl_time_delay(ble_npl_time_t ticks) in ble_npl_time_delay() argument
346 return npl_funcs->p_ble_npl_time_delay(ticks); in ble_npl_time_delay()
Dnpl_freertos.h105 ble_npl_time_t ticks);
113 ble_npl_error_t npl_freertos_time_ticks_to_ms(ble_npl_time_t ticks,
/hal_espressif-latest/components/bt/porting/npl/freertos/src/
Dnpl_os_freertos.c780 IRAM_ATTR npl_freertos_callout_reset(struct ble_npl_callout *co, ble_npl_time_t ticks) in npl_freertos_callout_reset() argument
786 return esp_err_to_npl_error(esp_timer_start_once(callout->handle, ticks*1000)); in npl_freertos_callout_reset()
791 if (ticks == 0) { in npl_freertos_callout_reset()
792 ticks = 1; in npl_freertos_callout_reset()
796 xTimerChangePeriodFromISR(callout->handle, ticks, &woken2); in npl_freertos_callout_reset()
804 xTimerChangePeriod(callout->handle, ticks, portMAX_DELAY); in npl_freertos_callout_reset()
940 uint64_t ticks; in npl_freertos_time_ms_to_ticks() local
942 ticks = (uint64_t)ms; in npl_freertos_time_ms_to_ticks()
944 ticks = ((uint64_t)ms * configTICK_RATE_HZ) / 1000; in npl_freertos_time_ms_to_ticks()
946 if (ticks > UINT32_MAX) { in npl_freertos_time_ms_to_ticks()
[all …]
/hal_espressif-latest/components/hal/include/hal/
Drtc_hal.h64 #define rtc_hal_set_wakeup_timer(ticks) rtc_cntl_ll_set_wakeup_timer(ticks) argument
Dsystimer_hal.h22 typedef uint64_t (*ticks_to_us_func_t)(uint64_t ticks); // prototype of function to convert ticks t…
/hal_espressif-latest/components/esp_hw_support/include/esp_private/
Dsystimer.h28 uint64_t systimer_ticks_to_us(uint64_t ticks) __attribute__((const));
/hal_espressif-latest/components/esp_system/port/
Dusb_console.c131 int ticks = MAX(delay_us / (portTICK_PERIOD_MS * 1000), 1); in esp_usb_console_osglue_wait_proc() local
132 vTaskDelay(ticks); in esp_usb_console_osglue_wait_proc()
133 return ticks * portTICK_PERIOD_MS * 1000; in esp_usb_console_osglue_wait_proc()
/hal_espressif-latest/components/bt/host/bluedroid/common/include/common/
Dbt_defs.h30 INT32 ticks; member
/hal_espressif-latest/components/bt/host/bluedroid/stack/btu/
Dbtu_task.c449 p_tle->ticks = timeout_sec; in btu_start_timer()
563 p_tle->ticks = timeout_ticks; in btu_start_quick_timer()
651 p_tle->ticks = timeout_sec; in btu_start_timer_oneshot()
/hal_espressif-latest/components/esp_pm/
DKconfig11 RTOS ticks and timers used for timekeeping.
43 If enabled, some GPIOs will be used to signal events such as RTOS ticks,
/hal_espressif-latest/zephyr/esp32/src/wifi/
Desp_wifi_adapter.c391 void task_delay(uint32_t ticks) in task_delay() argument
393 k_sleep(K_TICKS(ticks)); in task_delay()
/hal_espressif-latest/zephyr/esp32s2/src/wifi/
Desp_wifi_adapter.c392 void task_delay(uint32_t ticks) in task_delay() argument
394 k_sleep(K_TICKS(ticks)); in task_delay()
/hal_espressif-latest/zephyr/esp32s3/src/wifi/
Desp_wifi_adapter.c445 void task_delay(uint32_t ticks) in task_delay() argument
447 k_sleep(K_TICKS(ticks)); in task_delay()
/hal_espressif-latest/zephyr/esp32c2/src/wifi/
Desp_wifi_adapter.c424 void task_delay(uint32_t ticks) in task_delay() argument
426 k_sleep(K_TICKS(ticks)); in task_delay()
/hal_espressif-latest/zephyr/esp32c3/src/wifi/
Desp_wifi_adapter.c424 void task_delay(uint32_t ticks) in task_delay() argument
426 k_sleep(K_TICKS(ticks)); in task_delay()
/hal_espressif-latest/zephyr/esp32c6/src/wifi/
Desp_wifi_adapter.c428 void task_delay(uint32_t ticks) in task_delay() argument
430 k_sleep(K_TICKS(ticks)); in task_delay()

12