Home
last modified time | relevance | path

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

/hal_nxp-3.6.0/mcux/mcux-sdk/middleware/issdk/drivers/systick/
Dsystick_utils.c54 int32_t elapsed; in BOARD_SystickElapsedTicks() local
57 elapsed = *pStart - (SYST_CVR & 0x00FFFFFF); in BOARD_SystickElapsedTicks()
58 elapsed += SYST_RVR * (g_ovf_counter - g_ovf_stamp); in BOARD_SystickElapsedTicks()
60 return elapsed; in BOARD_SystickElapsedTicks()
66 uint32_t time_us, elapsed; in BOARD_SystickElapsedTime_us() local
69 elapsed = BOARD_SystickElapsedTicks(pStart); in BOARD_SystickElapsedTime_us()
72 time_us = COUNT_TO_USEC(elapsed, systemCoreClock); in BOARD_SystickElapsedTime_us()
83 int32_t start, elapsed; in BOARD_DELAY_ms() local
89 elapsed = BOARD_SystickElapsedTicks(&start); in BOARD_DELAY_ms()
90 } while(COUNT_TO_MSEC(elapsed, systemCoreClock) < delay_ms); in BOARD_DELAY_ms()