Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/components/codec/wm8960/
Dfsl_wm8960.c53 …uint32_t pllF2 = outputClk * 4U, pllPrescale = 0U, sysclkDiv = 1U, pllR = 0, pllN = 0, pllK = 0U, … in WM8960_SetInternalPllConfig() local
59 pllN = pllF2 / inputMclk; in WM8960_SetInternalPllConfig()
60 if (pllN < WM8960_PLL_N_MIN_VALUE) in WM8960_SetInternalPllConfig()
64 pllN = pllF2 / inputMclk; in WM8960_SetInternalPllConfig()
65 if (pllN < WM8960_PLL_N_MIN_VALUE) in WM8960_SetInternalPllConfig()
68 pllN = (pllF2 * sysclkDiv) / inputMclk; in WM8960_SetInternalPllConfig()
72 if ((pllN < WM8960_PLL_N_MIN_VALUE) || (pllN > WM8960_PLL_N_MAX_VALUE)) in WM8960_SetInternalPllConfig()
78 …pllK = (uint32_t)(((1UL << 24U) * ((uint64_t)pllR - (uint64_t)pllN * 1000U * 1000U)) / 1000U / 100… in WM8960_SetInternalPllConfig()
85 … ((uint16_t)fracMode << 5U) | ((uint16_t)pllPrescale << 4U) | ((uint16_t)pllN & 0xFU)), in WM8960_SetInternalPllConfig()