Home
last modified time | relevance | path

Searched refs:sync_config (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/samples/boards/nordic/clock_skew/src/
Dmain.c19 static struct timeutil_sync_config sync_config; variable
27 return z_tmcvt(local, sync_config.local_Hz, USEC_PER_SEC, false, in local_to_us()
34 return z_tmcvt(ref, sync_config.ref_Hz, USEC_PER_SEC, false, in ref_to_us()
224 sync_config.ref_Hz = counter_get_frequency(timer0); in main()
225 if (sync_config.ref_Hz == 0) { in main()
243 sync_config.local_Hz = CONFIG_SYS_CLOCK_TICKS_PER_SEC; in main()
245 sync_state.cfg = &sync_config; in main()
248 timer0->name, sync_config.ref_Hz, sync_config.local_Hz); in main()
250 (uint32_t)(BIT64(32) / sync_config.ref_Hz)); in main()
/Zephyr-latest/samples/bluetooth/periodic_adv_rsp/src/
Dmain.c258 struct pawr_timing sync_config; in main() local
349 sync_config.subevent = num_synced % NUM_SUBEVENTS; in main()
350 sync_config.response_slot = num_synced / NUM_SUBEVENTS; in main()
356 write_params.data = &sync_config; in main()
357 write_params.length = sizeof(sync_config); in main()