Home
last modified time | relevance | path

Searched refs:pllK (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
78pllK = (uint32_t)(((1UL << 24U) * ((uint64_t)pllR - (uint64_t)pllN * 1000U * 1000U)) / 1000U / 100… in WM8960_SetInternalPllConfig()
79 if (pllK != 0U) in WM8960_SetInternalPllConfig()
87 WM8960_CHECK_RET(WM8960_WriteReg(handle, WM8960_PLL2, (uint16_t)(pllK >> 16U) & 0xFFU), ret); in WM8960_SetInternalPllConfig()
88 WM8960_CHECK_RET(WM8960_WriteReg(handle, WM8960_PLL3, (uint16_t)(pllK >> 8U) & 0xFFU), ret); in WM8960_SetInternalPllConfig()
89 WM8960_CHECK_RET(WM8960_WriteReg(handle, WM8960_PLL4, (uint16_t)pllK & 0xFFU), ret); in WM8960_SetInternalPllConfig()