Searched refs:compare_new (Results 1 – 1 of 1) sorted by relevance
205 uint32_t compare_new = value; in sleeptimer_hal_set_compare() local215 if (get_time_diff(compare_new, counter) < SLEEPTIMER_COMPARE_MIN_DIFF) { in sleeptimer_hal_set_compare()216 compare_new = counter + SLEEPTIMER_COMPARE_MIN_DIFF; in sleeptimer_hal_set_compare()220 compare_new %= SLEEPTIMER_TMR_WIDTH; in sleeptimer_hal_set_compare()221 sleeptimer_hal_burtc_set_compare(compare_new - 1); in sleeptimer_hal_set_compare()