Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/tests/drivers/rtc/rtc_api/src/
Dtest_time_incrementing.c25 time_t timer_get; in ZTEST() local
38 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()
Dtest_time.c25 time_t timer_get; in ZTEST() local
63 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()