Home
last modified time | relevance | path

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

/Zephyr-latest/tests/kernel/timer/timer_api/src/
Dmain.c584 static ZTEST_DMEM struct k_timer *user_data_timer[5] = { variable
594 int timer_num = timer == user_data_timer[0] ? 0 : in user_data_timer_handler()
595 timer == user_data_timer[1] ? 1 : in user_data_timer_handler()
596 timer == user_data_timer[2] ? 2 : in user_data_timer_handler()
597 timer == user_data_timer[3] ? 3 : in user_data_timer_handler()
598 timer == user_data_timer[4] ? 4 : -1; in user_data_timer_handler()
632 k_timer_user_data_set(user_data_timer[ii], in ZTEST_USER()
634 check = (intptr_t)k_timer_user_data_get(user_data_timer[ii]); in ZTEST_USER()
640 k_timer_start(user_data_timer[ii], K_MSEC(50 + ii * 50), in ZTEST_USER()
655 k_timer_stop(user_data_timer[ii]); in ZTEST_USER()