Home
last modified time | relevance | path

Searched refs:us_to_sleep (Results 1 – 4 of 4) sorted by relevance

/hal_espressif-latest/components/bt/controller/esp32c3/
Dbt.c778 uint32_t us_to_sleep = btdm_lpcycles_2_hus(lpcycles, NULL) >> 1; in btdm_sleep_enter_phase1_wrapper() local
782 assert(us_to_sleep > BTDM_MIN_TIMER_UNCERTAINTY_US); in btdm_sleep_enter_phase1_wrapper()
785 uint32_t uncertainty = (us_to_sleep >> 11); in btdm_sleep_enter_phase1_wrapper()
789 uncertainty = us_to_sleep * BTDM_RTC_SLOW_CLK_RC_DRIFT_PERCENT / 100; in btdm_sleep_enter_phase1_wrapper()
799 if (esp_timer_start_once(s_btdm_slp_tmr, us_to_sleep - uncertainty) == ESP_OK) { in btdm_sleep_enter_phase1_wrapper()
/hal_espressif-latest/zephyr/esp32c3/src/bt/
Desp_bt_adapter.c792 uint32_t us_to_sleep = btdm_lpcycles_2_hus(lpcycles, NULL) >> 1; in btdm_sleep_enter_phase1_wrapper() local
795 assert(us_to_sleep > BTDM_MIN_TIMER_UNCERTAINTY_US); in btdm_sleep_enter_phase1_wrapper()
798 uint32_t uncertainty = (us_to_sleep >> 11); in btdm_sleep_enter_phase1_wrapper()
804 if (esp_timer_start_once(s_btdm_slp_tmr, us_to_sleep - uncertainty) == ESP_OK) { in btdm_sleep_enter_phase1_wrapper()
/hal_espressif-latest/zephyr/esp32s3/src/bt/
Desp_bt_adapter.c781 uint32_t us_to_sleep = btdm_lpcycles_2_hus(lpcycles, NULL) >> 1; in btdm_sleep_enter_phase1_wrapper() local
784 assert(us_to_sleep > BTDM_MIN_TIMER_UNCERTAINTY_US); in btdm_sleep_enter_phase1_wrapper()
787 uint32_t uncertainty = (us_to_sleep >> 11); in btdm_sleep_enter_phase1_wrapper()
793 if (esp_timer_start_once(s_btdm_slp_tmr, us_to_sleep - uncertainty) == ESP_OK) { in btdm_sleep_enter_phase1_wrapper()
/hal_espressif-latest/components/bt/controller/esp32/
Dbt.c941 uint32_t us_to_sleep = btdm_lpcycles_2_us(lpcycles); in btdm_sleep_enter_phase1_wrapper() local
944 assert(us_to_sleep > BTDM_MIN_TIMER_UNCERTAINTY_US); in btdm_sleep_enter_phase1_wrapper()
947 uint32_t uncertainty = (us_to_sleep >> 11); in btdm_sleep_enter_phase1_wrapper()
952 if (esp_timer_start_once(s_btdm_slp_tmr, us_to_sleep - uncertainty) != ESP_OK) { in btdm_sleep_enter_phase1_wrapper()