Searched refs:CurrentVal (Results 1 – 7 of 7) sorted by relevance
| /hal_nxp-latest/s32/drivers/s32ze/BaseNXP/src/ |
| D | OsIf_Timer_System_Internal_Systick.c | 178 uint32 CurrentVal = SYSTICK_GET_COUNTER(); in OsIf_Timer_System_Internal_GetElapsed() local 181 if(S32_SysTick->RVR >= CurrentVal) in OsIf_Timer_System_Internal_GetElapsed() 183 if (SYSTICK_OVERFLOWED((CurrentVal), (*CurrentRef))) in OsIf_Timer_System_Internal_GetElapsed() 186 dif = SYSTICK_DELTA_OUTER(CurrentVal, *CurrentRef, S32_SysTick->RVR); in OsIf_Timer_System_Internal_GetElapsed() 191 dif = SYSTICK_DELTA_INNER(*CurrentRef, CurrentVal); in OsIf_Timer_System_Internal_GetElapsed() 199 *CurrentRef = CurrentVal; in OsIf_Timer_System_Internal_GetElapsed()
|
| D | OsIf_Timer_System_Internal_GenericTimer.c | 354 uint32 CurrentVal = GENERICTIMER_GET_COUNTER(); in OsIf_Timer_System_Internal_GetElapsed() local 357 if (GENERICTIMER_OVERFLOWED(CurrentVal, *CurrentRef)) in OsIf_Timer_System_Internal_GetElapsed() 360 dif = GENERICTIMER_DELTA_OUTER(CurrentVal, *CurrentRef, GENERICTIMER_TVAL_MAX); in OsIf_Timer_System_Internal_GetElapsed() 365 dif = GENERICTIMER_DELTA_INNER(*CurrentRef, CurrentVal); in OsIf_Timer_System_Internal_GetElapsed() 367 *CurrentRef = CurrentVal; in OsIf_Timer_System_Internal_GetElapsed()
|
| D | OsIf_Timer_System.c | 406 uint32 CurrentVal; in OsIf_Timer_System_GetElapsed() local 439 CurrentVal = Trusted_k_cycle_get_32(); in OsIf_Timer_System_GetElapsed() 440 Elapsed = CurrentVal - *CurrentRef; in OsIf_Timer_System_GetElapsed() 441 *CurrentRef = CurrentVal; in OsIf_Timer_System_GetElapsed()
|
| /hal_nxp-latest/s32/drivers/s32k3/BaseNXP/src/ |
| D | OsIf_Timer_System_Internal_Systick.c | 155 uint32 CurrentVal = SYSTICK_GET_COUNTER(); in OsIf_Timer_System_Internal_GetElapsed() local 157 if (SYSTICK_OVERFLOWED((CurrentVal), (*CurrentRef))) in OsIf_Timer_System_Internal_GetElapsed() 160 dif = SYSTICK_DELTA_OUTER(CurrentVal, *CurrentRef, S32_SysTick->RVR); in OsIf_Timer_System_Internal_GetElapsed() 165 dif = SYSTICK_DELTA_INNER(*CurrentRef, CurrentVal); in OsIf_Timer_System_Internal_GetElapsed() 167 *CurrentRef = CurrentVal; in OsIf_Timer_System_Internal_GetElapsed()
|
| D | OsIf_Timer_System.c | 412 uint32 CurrentVal = Trusted_k_cycle_get_32(); in OsIf_Timer_System_GetElapsed() 413 Elapsed = CurrentVal - *CurrentRef; in OsIf_Timer_System_GetElapsed() 414 *CurrentRef = CurrentVal; in OsIf_Timer_System_GetElapsed()
|
| /hal_nxp-latest/s32/drivers/s32k1/BaseNXP/src/ |
| D | OsIf_Timer_System_Internal_Systick.c | 178 uint32 CurrentVal = SYSTICK_GET_COUNTER(); in OsIf_Timer_System_Internal_GetElapsed() local 181 if (SYSTICK_OVERFLOWED((CurrentVal), (*CurrentRef))) in OsIf_Timer_System_Internal_GetElapsed() 184 dif = SYSTICK_DELTA_OUTER(CurrentVal, *CurrentRef, SYSTICK_MAX); in OsIf_Timer_System_Internal_GetElapsed() 189 dif = SYSTICK_DELTA_INNER(*CurrentRef, CurrentVal); in OsIf_Timer_System_Internal_GetElapsed() 191 *CurrentRef = CurrentVal; in OsIf_Timer_System_Internal_GetElapsed()
|
| D | OsIf_Timer_System.c | 406 uint32 CurrentVal; in OsIf_Timer_System_GetElapsed() local 439 CurrentVal = Trusted_k_cycle_get_32(); in OsIf_Timer_System_GetElapsed() 440 Elapsed = CurrentVal - *CurrentRef; in OsIf_Timer_System_GetElapsed() 441 *CurrentRef = CurrentVal; in OsIf_Timer_System_GetElapsed()
|