Home
last modified time | relevance | path

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

/hal_nxp-latest/mcux/mcux-sdk/components/timer/
Dfsl_adapter_lptmr.c186 …retValue = COUNT_TO_USEC(((uint64_t)0xFFFFFFFF - (uint64_t)reserveCount), (uint64_t)halTimerState-… in HAL_TimerGetMaxTimeout()
206 …(uint32_t)COUNT_TO_USEC((uint64_t)s_LptmrBase[halTimerState->instance]->CMR, halTimerState->timerC… in HAL_TimerGetCurrentTimerCount()
207 …count += (uint32_t)COUNT_TO_USEC((uint64_t)LPTMR_GetCurrentTimerCount(s_LptmrBase[halTimerState->i… in HAL_TimerGetCurrentTimerCount()
214 …count = (uint32_t)COUNT_TO_USEC((uint64_t)LPTMR_GetCurrentTimerCount(s_LptmrBase[halTimerState->in… in HAL_TimerGetCurrentTimerCount()
Dfsl_adapter_ostimer.c118 …retValue = COUNT_TO_USEC(((uint64_t)0xFFFFFFFF - (uint64_t)reserveCount), (uint64_t)halTimerState-… in HAL_TimerGetMaxTimeout()
127 …return (uint32_t)COUNT_TO_USEC(OSTIMER_GetCurrentTimerValue(s_ostimerBase[halTimerState->instance]… in HAL_TimerGetCurrentTimerCount()
Dfsl_adapter_lpit.c150 …retValue = COUNT_TO_USEC(((uint64_t)0xFFFFFFFF - (uint64_t)reserveCount), (uint64_t)halTimerState-… in HAL_TimerGetMaxTimeout()
158 return (uint32_t)COUNT_TO_USEC( in HAL_TimerGetCurrentTimerCount()
Dfsl_adapter_mrt.c144 …retValue = COUNT_TO_USEC(((uint64_t)0xFFFFFFFF - (uint64_t)reserveCount), (uint64_t)halTimerState-… in HAL_TimerGetMaxTimeout()
152 return (uint32_t)COUNT_TO_USEC( in HAL_TimerGetCurrentTimerCount()
Dfsl_adapter_ctimer.c157 …retValue = COUNT_TO_USEC(((uint64_t)0xFFFFFFFF - (uint64_t)reserveCount), (uint64_t)halTimerState-… in HAL_TimerGetMaxTimeout()
165 …return (uint32_t)COUNT_TO_USEC(s_CtimerBase[halTimerState->instance]->TC, halTimerState->timerCloc… in HAL_TimerGetCurrentTimerCount()
Dfsl_adapter_ftm.c160 …retValue = COUNT_TO_USEC(((uint64_t)0xFFFFFFFF - (uint64_t)reserveCount), (uint64_t)halTimerState-… in HAL_TimerGetMaxTimeout()
168 …return (uint32_t)COUNT_TO_USEC((uint64_t)FTM_GetCurrentTimerCount(s_FtmBase[halTimerState->instanc… in HAL_TimerGetCurrentTimerCount()
Dfsl_adapter_gpt.c157 return (uint32_t)COUNT_TO_USEC(((uint64_t)GPT_CNT_COUNT_MASK - (uint64_t)reserveCount), in HAL_TimerGetMaxTimeout()
165 …return (uint32_t)COUNT_TO_USEC((uint64_t)GPT_GetCurrentTimerCount(s_GptBase[halTimerState->instanc… in HAL_TimerGetCurrentTimerCount()
Dfsl_adapter_pit.c174 …retValue = COUNT_TO_USEC(((uint64_t)0xFFFFFFFF - (uint64_t)reserveCount), (uint64_t)halTimerState-… in HAL_TimerGetMaxTimeout()
182 …return (uint32_t)COUNT_TO_USEC((uint64_t)PIT_GetCurrentTimerCount(s_PitBase[halTimerState->instanc… in HAL_TimerGetCurrentTimerCount()
Dfsl_adapter_tpm.c192 return (uint32_t)COUNT_TO_USEC(((uint64_t)0xFFFF - (uint64_t)1000), in HAL_TimerGetMaxTimeout()
200 …return (uint32_t)COUNT_TO_USEC((uint64_t)TPM_GetCurrentTimerCount(s_TPMBase[HAL_TimerGetInstance(h… in HAL_TimerGetCurrentTimerCount()
/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-connectivity-framework/platform/rw61x/
Dfwk_platform_lowpower.c156 durationUs = (uint64_t)COUNT_TO_USEC((uint64_t)wakeUpTimerStartCount, 1000U) - in PLATFORM_GetLowPowerDurationUs()
157 (uint64_t)COUNT_TO_USEC((uint64_t)wakeUpTimerStopCount, 1000U); in PLATFORM_GetLowPowerDurationUs()
Dfwk_platform.c56 return (uint64_t)COUNT_TO_USEC(0xFFFFFFFFFFFU, CLOCK_GetOSTimerClkFreq()); in PLATFORM_GetMaxTimeStamp()
/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-connectivity-framework/platform/rt1170/
Dfwk_platform.c63 return (uint64_t)COUNT_TO_USEC(~0UL, 32768U); in PLATFORM_GetMaxTimeStamp()
/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-connectivity-framework/platform/MIMXRT595S/
Dfwk_platform.c60 return (uint64_t)COUNT_TO_USEC(0xFFFFFFFFFFFU, PLATFORM_OSTIMER_CLK); in PLATFORM_GetMaxTimeStamp()
/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-connectivity-framework/platform/rt1060/
Dfwk_platform.c80 return (uint64_t)COUNT_TO_USEC(~0UL, CLOCK_GetPerClkFreq()); in PLATFORM_GetMaxTimeStamp()
/hal_nxp-latest/mcux/mcux-sdk/components/time_stamp/
Dfsl_adapter_ostimer_time_stamp.c67 … return (uint64_t)COUNT_TO_USEC(timerCount & 0xFFFFFFFFFFFU, halTimeStampState->timeStampClock_Hz); in HAL_GetTimeStamp()
Dfsl_adapter_lptmr_time_stamp.c95 …return COUNT_TO_USEC(LPTMR_GetCurrentTimerCount(s_LptmrBase[halTimeStampState->timeStampInstance]), in HAL_GetTimeStamp()
Dfsl_adapter_ctimer_time_stamp.c89 return COUNT_TO_USEC(count, halTimeStampState->timeStampClock_Hz); in HAL_GetTimeStamp()
Dfsl_adapter_gpt_time_stamp.c100 return COUNT_TO_USEC(GPT_GetCurrentTimerCount(gpt), halTimeStampState->timeStampClock_Hz); in HAL_GetTimeStamp()
Dfsl_adapter_pit_time_stamp.c101 return COUNT_TO_USEC(count, halTimeStampState->timeStampClock_Hz); in HAL_GetTimeStamp()
Dfsl_adapter_lpit_time_stamp.c104 return COUNT_TO_USEC(count, halTimeStampState->timeStampClock_Hz); in HAL_GetTimeStamp()
/hal_nxp-latest/mcux/mcux-sdk/drivers/common/
Dfsl_common_riscv.h25 #define COUNT_TO_USEC(count, clockFreqInHz) (uint64_t)((uint64_t)(count) * 1000000U / (clockFreqInH… macro
Dfsl_common_dsp.h26 #define COUNT_TO_USEC(count, clockFreqInHz) (uint64_t)((uint64_t)(count) * 1000000U / (clockFreqInH… macro
Dfsl_common_arm.h319 #define COUNT_TO_USEC(count, clockFreqInHz) (uint64_t)((uint64_t)(count)*1000000U / (clockFreqInHz)) macro