Home
last modified time | relevance | path

Searched refs:get_absolute_time (Results 1 – 14 of 14) sorted by relevance

/hal_rpi_pico-3.7.0-3.6.0-3.5.0/test/pico_time_test/
Dpico_time_test.c42 timeout->fired_at = get_absolute_time(); in timer_callback1()
91 absolute_time_t time_base = get_absolute_time(); in main()
110 …PICOTEST_CHECK(absolute_time_diff_us(time_base, get_absolute_time()) < init_ms * 1000, "This is a … in main()
148 absolute_time_t time_base = get_absolute_time(); in main()
155 if (absolute_time_diff_us(target, get_absolute_time()) >= 0) { in main()
215 …PICOTEST_CHECK(absolute_time_diff_us(at_the_end_of_time, get_absolute_time()) < 0, "now should be … in main()
216 …PICOTEST_CHECK(absolute_time_diff_us(get_absolute_time(), at_the_end_of_time) > 0, "the end of tim… in main()
239 absolute_time_t t1 = get_absolute_time(); in issue_195_test()
247 absolute_time_t t2 = get_absolute_time(); in issue_195_test()
/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/rp2_common/pico_btstack/
Dbtstack_run_loop_async_context.c51 ts->timeout = to_ms_since_boot(get_absolute_time()) + timeout_in_ms + 1; in btstack_run_loop_async_context_set_timer()
78 return to_ms_since_boot(get_absolute_time()); in btstack_run_loop_async_context_get_time_ms()
144 uint32_t now = to_ms_since_boot(get_absolute_time()); in btstack_work_pending()
148 now = to_ms_since_boot(get_absolute_time()); in btstack_work_pending()
/hal_rpi_pico-3.7.0-3.6.0-3.5.0/test/pico_stdlib_test/
Dpico_stdlib_test.c92 printf( "%" PRIu64 "\n", to_us_since_boot(get_absolute_time())); in main()
94 absolute_time_t until = delayed_by_us(get_absolute_time(), 500000); in main()
98 printf("%" PRIu64 "\n", to_us_since_boot(get_absolute_time())); in main()
/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/common/pico_time/include/pico/
Dtime.h61 static inline absolute_time_t get_absolute_time(void) { in get_absolute_time() function
132 return delayed_by_us(get_absolute_time(), us); in make_timeout_time_us()
142 return delayed_by_ms(get_absolute_time(), ms); in make_timeout_time_ms()
522 …return alarm_pool_add_alarm_at(pool, delayed_by_us(get_absolute_time(), us), callback, user_data, … in alarm_pool_add_alarm_in_us()
549 …return alarm_pool_add_alarm_at(pool, delayed_by_ms(get_absolute_time(), ms), callback, user_data, … in alarm_pool_add_alarm_in_ms()
/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/rp2_common/pico_runtime/
Druntime.c222 …int64_t us_since_epoch = ((int64_t)to_us_since_boot(get_absolute_time())) - epoch_time_us_since_bo… in _gettimeofday()
232 epoch_time_us_since_boot = (int64_t)to_us_since_boot(get_absolute_time()) - us_since_epoch; in settimeofday()
239 tms->tms_utime = (clock_t)(to_us_since_boot(get_absolute_time()) * (CLOCKS_PER_SEC / 1000000)); in _times()
241 tms->tms_utime = (clock_t)(to_us_since_boot(get_absolute_time()) / (1000000 / CLOCKS_PER_SEC)); in _times()
/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/host/pico_stdio/
Dstdio.c13 if (absolute_time_diff_us(t, get_absolute_time()) > 0) { in getchar_timeout_us()
/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/rp2_common/pico_async_context/
Dasync_context_base.c62 absolute_time_t earliest = get_absolute_time(); in async_context_base_remove_ready_at_time_worker()
109 absolute_time_t now = get_absolute_time(); in async_context_base_needs_servicing()
Dasync_context_freertos.c27 int64_t delay_us = absolute_time_diff_us(get_absolute_time(), until); in sensible_ticks_until()
Dasync_context_threadsafe_background.c252 if (absolute_time_diff_us(get_absolute_time(), next_time) <= 0) continue; in process_under_lock()
/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/rp2_common/pico_lwip/
Dlwip_nosys.c72 return to_ms_since_boot(get_absolute_time()); in sys_now()
/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/rp2_common/pico_multicore/
Dmulticore.c212 int64_t next_timeout_us = absolute_time_diff_us(get_absolute_time(), until); in multicore_lockout_handshake()
217 next_timeout_us = absolute_time_diff_us(get_absolute_time(), until); in multicore_lockout_handshake()
/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/rp2_common/pico_cyw43_driver/include/
Dcyw43_configport.h95 return to_ms_since_boot(get_absolute_time()); in cyw43_hal_ticks_ms()
/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/common/pico_time/
Dtime.c129 absolute_time_t now = get_absolute_time(); in alarm_pool_alarm_callback()
165 …add_alarm_under_lock(pool, delayed_by_us(get_absolute_time(), (uint64_t)repeat), callback, user_da… in alarm_pool_alarm_callback()
260 time = delayed_by_us(get_absolute_time(), (uint64_t)repeat); in alarm_pool_add_alarm_at()
394 if (absolute_time_diff_us(get_absolute_time(), t_before) > 0) { in sleep_until()
/hal_rpi_pico-3.7.0-3.6.0-3.5.0/test/pico_divider_test/
Dpico_divider_nesting_test.c130 absolute_time_t end = delayed_by_ms(get_absolute_time(), 10000); in test_nesting()