Home
last modified time | relevance | path

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

/hal_ambiq-latest/mcu/apollo4p/hal/
Dam_hal_stimer.c215 uint32_t curTimer; in am_hal_stimer_check_compare_delta_set() local
223 curTimer = am_hal_stimer_counter_get(); in am_hal_stimer_check_compare_delta_set()
226 if ((curTimer != g_lastStimer[ui32CmprInstance]) && in am_hal_stimer_check_compare_delta_set()
227 (curTimer != (g_lastStimer[ui32CmprInstance] + 1))) in am_hal_stimer_check_compare_delta_set()
245 uint32_t curTimer, curTimer0; in am_hal_stimer_compare_delta_set() local
249 curTimer = curTimer0 = am_hal_stimer_counter_get(); in am_hal_stimer_compare_delta_set()
269 if ((curTimer != g_lastStimer[ui32CmprInstance]) && in am_hal_stimer_compare_delta_set()
270 (curTimer != (g_lastStimer[ui32CmprInstance] + 1))) in am_hal_stimer_compare_delta_set()
276 curTimer = am_hal_stimer_counter_get(); in am_hal_stimer_compare_delta_set() local
282 if (ui32Delta > (3 + (curTimer - curTimer0))) in am_hal_stimer_compare_delta_set()
[all …]