Searched refs:SX1272_PLL_STEP_SHIFT_AMOUNT (Results 1 – 1 of 1) sorted by relevance
40 #define SX1272_PLL_STEP_SHIFT_AMOUNT ( 8 ) macro45 …_PLL_STEP_SCALED ( SX1272_XTAL_FREQ >> ( 19 - SX1272_PLL_STEP_SHIFT_AMOUNT ) )1246 freqInHzInt = pllSteps >> SX1272_PLL_STEP_SHIFT_AMOUNT; in SX1272ConvertPllStepToFreqInHz()1247 freqInHzFrac = pllSteps - ( freqInHzInt << SX1272_PLL_STEP_SHIFT_AMOUNT ); in SX1272ConvertPllStepToFreqInHz()1251 ( ( freqInHzFrac * SX1272_PLL_STEP_SCALED + ( 128 ) ) >> SX1272_PLL_STEP_SHIFT_AMOUNT ); in SX1272ConvertPllStepToFreqInHz()1265 return ( stepsInt << SX1272_PLL_STEP_SHIFT_AMOUNT ) + in SX1272ConvertFreqInHzToPllStep()1266 ( ( ( stepsFrac << SX1272_PLL_STEP_SHIFT_AMOUNT ) + ( SX1272_PLL_STEP_SCALED >> 1 ) ) / in SX1272ConvertFreqInHzToPllStep()