Home
last modified time | relevance | path

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

/hal_nxp-3.6.0/mcux/middleware/wireless/framework_5.3.3/XCVR/MKW40Z4/
DKW4xXcvrDrv.c1908 int64_t pll_num; in XcvrGetFreq() local
1911 pll_num = XCVR_BRD_PLL_LP_SDM_CTRL2_LPM_NUM(XCVR); in XcvrGetFreq()
1913 if ( (pll_num & 0x0000000004000000) == 0x0000000004000000) in XcvrGetFreq()
1914 pll_num = 0xFFFFFFFFF8000000 + pll_num; /* Sign extend the numerator */ in XcvrGetFreq()
1919 …return (uint32_t)(pll_int << 6) + ((pll_num << 6) / pll_denom); /* Calculate the frequency in MHz… in XcvrGetFreq()
/hal_nxp-3.6.0/mcux/middleware/wireless/framework_5.3.3/XCVR/MKW41Z4/
Dfsl_xcvr.c1453 int32_t pll_num; in XCVR_GetFreq() local
1487 pll_num = (~pll_num_unsigned + 1) & 0x03FFFFFFU; in XCVR_GetFreq()
1490 freq_float = (ref_clk * 2 * (pll_int - ((float)pll_num / pll_denom))); in XCVR_GetFreq()
1495 pll_num = pll_num_unsigned; in XCVR_GetFreq()
1496 freq_float = (ref_clk * 2 * (pll_int + ((float)pll_num / (float)pll_denom))); in XCVR_GetFreq()