Searched refs:TIMER_ASSERT (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/tests/kernel/timer/timer_api/src/ |
D | main.c | 70 #define TIMER_ASSERT(exp, tmr) \ macro 120 TIMER_ASSERT(interval_check(interval, DURATION), timer); in duration_expire() 122 TIMER_ASSERT(interval_check(interval, PERIOD), timer); in duration_expire() 143 TIMER_ASSERT(k_timer_status_get(timer) == 1, timer); in status_expire() 145 TIMER_ASSERT(k_timer_remaining_get(timer) >= PERIOD, timer); in status_expire() 160 TIMER_ASSERT(k_timer_remaining_get(timer) == 0, timer); in status_stop() 193 TIMER_ASSERT(tdata.expire_cnt == EXPIRE_TIMES, &duration_timer); in ZTEST_USER() 194 TIMER_ASSERT(tdata.stop_cnt == 1, &duration_timer); in ZTEST_USER() 197 TIMER_ASSERT(tdata.stop_cnt == 1, &duration_timer); in ZTEST_USER() 227 TIMER_ASSERT(k_timer_status_get(&status_anytime_timer) == 0, in ZTEST_USER() [all …]
|