Home
last modified time | relevance | path

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

/Zephyr-latest/tests/kernel/timer/timer_api/src/
Dmain.c64 static struct k_timer status_anytime_timer; variable
219 k_timer_start(&status_anytime_timer, K_MSEC(DURATION), in ZTEST_USER()
224 k_timer_start(&status_anytime_timer, K_MSEC(DURATION), in ZTEST_USER()
227 TIMER_ASSERT(k_timer_status_get(&status_anytime_timer) == 0, in ZTEST_USER()
228 &status_anytime_timer); in ZTEST_USER()
231 k_timer_stop(&status_anytime_timer); in ZTEST_USER()
470 k_timer_start(&status_anytime_timer, K_MSEC(DURATION), in ZTEST_USER()
475 TIMER_ASSERT(k_timer_status_get(&status_anytime_timer) == EXPIRE_TIMES, in ZTEST_USER()
476 &status_anytime_timer); in ZTEST_USER()
478 TIMER_ASSERT(k_timer_status_get(&status_anytime_timer) == 1, in ZTEST_USER()
[all …]