Searched refs:timer_get (Results 1 – 2 of 2) sorted by relevance
25 time_t timer_get; in ZTEST() local38 timer_get = timeutil_timegm((struct tm *)(&datetime_get)); in ZTEST()41 zassert_true(timer_get_last <= timer_get, "Time is decrementing"); in ZTEST()44 if (timer_get == RTC_TEST_TIME_COUNTING_LIMIT) { in ZTEST()49 timer_get_last = timer_get; in ZTEST()
25 time_t timer_get; in ZTEST() local63 timer_get = timeutil_timegm((struct tm *)(&datetime_get)); in ZTEST()65 zassert_true((timer_get >= RTC_TEST_GET_SET_TIME) && in ZTEST()66 (timer_get <= (RTC_TEST_GET_SET_TIME + RTC_TEST_GET_SET_TIME_TOL)), in ZTEST()