/Zephyr-latest/samples/bluetooth/iso_central/src/ |
D | main.c | 30 static uint32_t interval_us = 10U * USEC_PER_MSEC; /* 10 ms */ variable 82 interval_us); in iso_timer_timeout() 88 k_work_schedule(&iso_send_work, K_USEC(interval_us)); in iso_timer_timeout() 268 param.c_to_p_interval = interval_us; /* us */ in main() 269 param.p_to_c_interval = interval_us; /* us */ in main()
|
/Zephyr-latest/drivers/adc/ |
D | adc_context.h | 120 k_timer_start(&ctx->timer, K_NO_WAIT, K_USEC(ctx->options.interval_us)); in adc_context_enable_timer() 223 if (ctx->options.interval_us != 0U) { in adc_context_start_read() 279 if (ctx->options.interval_us == 0U) { in adc_context_on_sampling_done() 288 if (ctx->options.interval_us != 0U) { in adc_context_on_sampling_done()
|
D | adc_esp32.c | 413 if (seq->options->interval_us) { in adc_esp32_read() 502 if (options->interval_us) { in adc_esp32_read() 503 sample_freq_hz = MHZ(1) / options->interval_us; in adc_esp32_read()
|
/Zephyr-latest/tests/bsim/bluetooth/host/iso/cis/src/ |
D | cis_central.c | 22 static uint32_t interval_us = 10U * USEC_PER_MSEC; /* 10 ms */ variable 62 k_work_reschedule(k_work_delayable_from_work(work), K_USEC(interval_us)); in send_data_cb() 190 param->c_to_p_interval = interval_us; /* us */ in set_cig_defaults() 191 param->p_to_c_interval = interval_us; /* us */ in set_cig_defaults() 432 k_sleep(K_USEC(interval_us)); in test_main() 460 k_sleep(K_USEC(interval_us)); in test_main_disable()
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
D | ull_sync.c | 217 uint32_t interval_us; in ull_sync_setup_from_sync_transfer() local 252 interval_us = interval * PERIODIC_INT_UNIT_US; in ull_sync_setup_from_sync_transfer() 255 if (sync->timeout != 0 && interval_us != 0) { in ull_sync_setup_from_sync_transfer() 257 USEC_PER_MSEC), interval_us); in ull_sync_setup_from_sync_transfer() 292 interval_us), USEC_PER_SEC); in ull_sync_setup_from_sync_transfer() 293 lll->window_widening_max_us = (interval_us >> 1) - EVENT_IFS_US; in ull_sync_setup_from_sync_transfer() 337 uint32_t sync_intervals = DIV_ROUND_UP(total_offset_us, interval_us); in ull_sync_setup_from_sync_transfer() 340 sync_offset_us = (sync_intervals * interval_us) - total_offset_us; in ull_sync_setup_from_sync_transfer() 358 da = (uint64_t)(local_sca_ppm + lll_clock_ppm_get(sca)) * interval_us; in ull_sync_setup_from_sync_transfer() 377 sync_offset_us += interval_us; in ull_sync_setup_from_sync_transfer() [all …]
|
D | ull_sync_iso.c | 420 uint32_t interval_us; in ull_sync_iso_setup() local 541 interval_us = lll->iso_interval * PERIODIC_INT_UNIT_US; in ull_sync_iso_setup() 545 interval_us); in ull_sync_iso_setup() 551 interval_us), USEC_PER_SEC); in ull_sync_iso_setup() 552 lll->window_widening_max_us = (interval_us >> 1) - EVENT_IFS_US; in ull_sync_iso_setup() 579 interval_us -= lll->window_widening_periodic_us; in ull_sync_iso_setup() 666 sync_iso_offset_us += interval_us - in ull_sync_iso_setup() 682 HAL_TICKER_US_TO_TICKS(interval_us), in ull_sync_iso_setup() 683 HAL_TICKER_REMAINDER(interval_us), in ull_sync_iso_setup()
|
D | ull_adv.c | 1396 uint64_t interval_us; local 1501 interval_us = (uint64_t)adv->interval * ADV_INT_UNIT_US; 1509 aux->interval = DIV_ROUND_UP(interval_us + 1513 aux->interval = (interval_us * (adv->max_skip + 1)) 2032 uint32_t interval_us = adv->interval * ADV_INT_UNIT_US; local 2041 ticks_adjust_minus = HAL_TICKER_US_TO_TICKS(interval_us) + adv->delay; 2044 if (adv->remain_duration_us > interval_us) { 2048 adv->remain_duration_us += interval_us + 2478 uint32_t interval_us = (uint64_t)adv->interval * ADV_INT_UNIT_US; local 2479 uint32_t elapsed_us = interval_us * (lazy + 1U) + [all …]
|
D | ull_adv_aux.c | 2602 uint32_t interval_us; in ull_adv_aux_start() local 2608 interval_us = aux->interval * PERIODIC_INT_UNIT_US; in ull_adv_aux_start() 2647 HAL_TICKER_US_TO_TICKS(interval_us), in ull_adv_aux_start() 2648 HAL_TICKER_REMAINDER(interval_us), TICKER_NULL_LAZY, in ull_adv_aux_start() 3160 uint32_t interval_us; in ull_adv_aux_lll_auxptr_fill() local 3163 interval_us = aux->interval * PERIODIC_INT_UNIT_US; in ull_adv_aux_lll_auxptr_fill() 3164 offset_us = offset_us + interval_us; in ull_adv_aux_lll_auxptr_fill() 3285 uint32_t interval_us; in mfy_aux_offset_get() local 3288 interval_us = aux->interval * PERIODIC_INT_UNIT_US; in mfy_aux_offset_get() 3289 offset_us = offset_us + interval_us; in mfy_aux_offset_get()
|
/Zephyr-latest/samples/bluetooth/periodic_sync/src/ |
D | main.c | 102 uint32_t interval_us; in scan_recv() local 108 interval_us = BT_GAP_PER_ADV_INTERVAL_TO_US(info->interval); in scan_recv() 110 timeout = BT_GAP_US_TO_PER_ADV_SYNC_TIMEOUT(interval_us); in scan_recv()
|
/Zephyr-latest/tests/bsim/bluetooth/host/iso/bis/src/ |
D | bis_receiver.c | 182 uint32_t interval_us; in interval_to_sync_timeout() local 186 interval_us = BT_GAP_PER_ADV_INTERVAL_TO_US(pa_interval); in interval_to_sync_timeout() 188 BT_GAP_US_TO_PER_ADV_SYNC_TIMEOUT(interval_us) * PA_SYNC_INTERVAL_TO_TIMEOUT_RATIO; in interval_to_sync_timeout()
|
/Zephyr-latest/samples/bluetooth/central_past/src/ |
D | main.c | 112 uint32_t interval_us; in scan_recv() local 118 interval_us = BT_GAP_PER_ADV_INTERVAL_TO_US(info->interval); in scan_recv() 120 timeout = BT_GAP_US_TO_PER_ADV_SYNC_TIMEOUT(interval_us); in scan_recv()
|
/Zephyr-latest/tests/bsim/bluetooth/audio/src/ |
D | common.c | 235 uint32_t interval_us; in interval_to_sync_timeout() local 239 interval_us = BT_GAP_PER_ADV_INTERVAL_TO_US(pa_interval); in interval_to_sync_timeout() 240 timeout = BT_GAP_US_TO_PER_ADV_SYNC_TIMEOUT(interval_us) * in interval_to_sync_timeout()
|
/Zephyr-latest/samples/bluetooth/tmap_bmr/src/ |
D | bap_broadcast_sink.c | 116 uint32_t interval_us; in interval_to_sync_timeout() local 120 interval_us = BT_GAP_PER_ADV_INTERVAL_TO_US(interval); in interval_to_sync_timeout() 122 BT_GAP_US_TO_PER_ADV_SYNC_TIMEOUT(interval_us) * PA_SYNC_INTERVAL_TO_TIMEOUT_RATIO; in interval_to_sync_timeout()
|
/Zephyr-latest/tests/drivers/adc/adc_api/src/ |
D | test_adc.c | 196 .interval_us = CONFIG_ADC_API_SAMPLE_INTERVAL_US, in test_task_asynchronous_call() 255 .interval_us = 100 * 1000UL, in test_task_with_interval() 335 .interval_us = CONFIG_ADC_API_SAMPLE_INTERVAL_US, in test_task_repeated_samplings()
|
/Zephyr-latest/samples/bluetooth/pbp_public_broadcast_sink/src/ |
D | main.c | 125 uint32_t interval_us; in interval_to_sync_timeout() local 129 interval_us = BT_GAP_PER_ADV_INTERVAL_TO_US(interval); in interval_to_sync_timeout() 131 BT_GAP_US_TO_PER_ADV_SYNC_TIMEOUT(interval_us) * PA_SYNC_INTERVAL_TO_TIMEOUT_RATIO; in interval_to_sync_timeout()
|
/Zephyr-latest/samples/bluetooth/direction_finding_connectionless_rx/src/ |
D | main.c | 83 uint32_t interval_us; in sync_create_timeout_get() local 87 interval_us = BT_GAP_PER_ADV_INTERVAL_TO_US(interval); in sync_create_timeout_get() 88 timeout = BT_GAP_US_TO_PER_ADV_SYNC_TIMEOUT(interval_us) * SYNC_CREATE_TIMEOUT_INTERVAL_NUM; in sync_create_timeout_get()
|
/Zephyr-latest/samples/drivers/adc/adc_sequence/src/ |
D | main.c | 38 .interval_us = 0,
|
/Zephyr-latest/drivers/sensor/seeed/grove/ |
D | light_sensor.c | 43 .interval_us = 12,
|
D | temperature_sensor.c | 43 .interval_us = 15,
|
/Zephyr-latest/samples/bluetooth/bap_broadcast_assistant/src/ |
D | main.c | 263 uint32_t interval_us; in interval_to_sync_timeout() local 267 interval_us = BT_GAP_PER_ADV_INTERVAL_TO_US(pa_interval); in interval_to_sync_timeout() 268 timeout = BT_GAP_US_TO_PER_ADV_SYNC_TIMEOUT(interval_us) * in interval_to_sync_timeout()
|
/Zephyr-latest/samples/bluetooth/cap_acceptor/src/ |
D | cap_acceptor_broadcast.c | 294 uint32_t interval_us; in interval_to_sync_timeout() local 298 interval_us = BT_GAP_PER_ADV_INTERVAL_TO_US(pa_interval); in interval_to_sync_timeout() 299 timeout = BT_GAP_US_TO_PER_ADV_SYNC_TIMEOUT(interval_us) * in interval_to_sync_timeout()
|
/Zephyr-latest/subsys/bluetooth/audio/shell/ |
D | bap_scan_delegator.c | 154 uint32_t interval_us; in interval_to_sync_timeout() local 158 interval_us = BT_GAP_PER_ADV_INTERVAL_TO_US(pa_interval); in interval_to_sync_timeout() 159 timeout = BT_GAP_US_TO_PER_ADV_SYNC_TIMEOUT(interval_us) * in interval_to_sync_timeout()
|
/Zephyr-latest/include/zephyr/drivers/ |
D | adc.h | 584 uint32_t interval_us; member
|
/Zephyr-latest/subsys/bluetooth/host/shell/ |
D | iso.c | 52 uint32_t interval_us) in get_next_sn() argument 67 sn_incr = delta_us / interval_us; in get_next_sn()
|
/Zephyr-latest/subsys/bluetooth/audio/ |
D | bap_broadcast_sink.c | 960 uint32_t interval_us; in interval_to_sync_timeout() local 964 interval_us = BT_GAP_PER_ADV_INTERVAL_TO_US(interval); in interval_to_sync_timeout() 966 BT_GAP_US_TO_PER_ADV_SYNC_TIMEOUT(interval_us) * PA_SYNC_INTERVAL_TO_TIMEOUT_RATIO; in interval_to_sync_timeout()
|