Home
last modified time | relevance | path

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

/hal_nxp-latest/mcux/mcux-sdk/components/codec/wm8962/
Dfsl_wm8962.c144 …uint32_t refClock = fllConfig->fllReferenceClockFreq, fllRatio = 0U, outClk = fllConfig->fllOutput… in WM8962_SetInternalFllConfig() local
152 refClock = fllConfig->fllReferenceClockFreq / (uint32_t)(1UL << (refDiv & 3U)); in WM8962_SetInternalFllConfig()
154 if (refClock > 1000000U) in WM8962_SetInternalFllConfig()
158 else if (refClock > 256000U) in WM8962_SetInternalFllConfig()
162 else if (refClock > 128000U) in WM8962_SetInternalFllConfig()
166 else if (refClock > 64000U) in WM8962_SetInternalFllConfig()
213 nDivider = fVCO / ((uint32_t)(1UL << fllRatio) * refClock); in WM8962_SetInternalFllConfig()
215 fllGCD = WM8962_GCD_FLL((uint32_t)(1UL << fllRatio) * refClock, fVCO); in WM8962_SetInternalFllConfig()
217 fllTheta = (fVCO - nDivider * (uint32_t)(1UL << fllRatio) * refClock) / fllGCD; in WM8962_SetInternalFllConfig()
218 fllLambda = ((uint32_t)(1UL << fllRatio) * refClock) / fllGCD; in WM8962_SetInternalFllConfig()
/hal_nxp-latest/mcux/mcux-sdk/drivers/enet/
Dfsl_enet.c2847 uint32_t refClock; in ENET_Ptp1588ConfigureHandler() local
2858 refClock = ptpConfig->ptp1588ClockSrc_Hz; in ENET_Ptp1588ConfigureHandler()
2862 handle->tsDelayCount = 6U * ((handle->enetClock + refClock - 1U) / refClock); in ENET_Ptp1588ConfigureHandler()