Lines Matching +full:idle +full:- +full:timeout +full:- +full:ms
5 * SPDX-License-Identifier: Apache-2.0
18 watchdog--; in ZTEST()
28 int64_t diff = k_uptime_get() - now; in ZTEST()
52 zassert_false(timeout_run, "Timeout should not expire because irq is locked"); in ZTEST()
56 zassert_true(timeout_run, "Timeout should expire because irq got unlocked"); in ZTEST()
66 /* Start timer and go to idle, cpu should sleep until it is waken up in ZTEST()
73 diff = k_uptime_get() - now; in ZTEST()
74 zassert_true(timeout_run, "Timeout should expire"); in ZTEST()
75 zassert_within(diff, 10, 2, "Unexpected time passed: %d ms", (int)diff); in ZTEST()
86 sys_init_result = -1; \
87 return -EIO; \