Searched refs:delayed_by_us (Results 1 – 4 of 4) sorted by relevance
/hal_rpi_pico-3.7.0-3.6.0-3.5.0/test/pico_stdlib_test/ |
D | pico_stdlib_test.c | 94 absolute_time_t until = delayed_by_us(get_absolute_time(), 500000); in main() 99 until = delayed_by_us(until, 500000); in main()
|
/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/common/pico_time/include/pico/ |
D | time.h | 94 static inline absolute_time_t delayed_by_us(const absolute_time_t t, uint64_t us) { in delayed_by_us() function 132 return delayed_by_us(get_absolute_time(), us); in make_timeout_time_us() 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()
|
/hal_rpi_pico-3.7.0-3.6.0-3.5.0/src/common/pico_time/ |
D | time.c | 162 …add_alarm_under_lock(pool, delayed_by_us(target, (uint64_t)-repeat), callback, user_data, next_id,… 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() 258 time = delayed_by_us(time, (uint64_t)-repeat); in alarm_pool_add_alarm_at() 260 time = delayed_by_us(get_absolute_time(), (uint64_t)repeat); in alarm_pool_add_alarm_at()
|
/hal_rpi_pico-3.7.0-3.6.0-3.5.0/test/pico_time_test/ |
D | pico_time_test.c | 102 target = delayed_by_us(time_base, init_ms + (rand() % TEST_LENGTH_US)); in main() 154 absolute_time_t target = delayed_by_us(time_base, (rand() % TEST_LENGTH_US)); in main()
|