Lines Matching refs:tdcResult
121 static void updateSubSecInc(uint32_t tdcResult);
122 static void calibrateRcoscHf1(int32_t tdcResult);
123 static void calibrateRcoscHf2(int32_t tdcResult);
205 uint32_t tdcResult; in PowerCC26X2_auxISR() local
229 tdcResult = HWREG(AUX_TDC_BASE + AUX_TDC_O_RESULT); in PowerCC26X2_auxISR()
232 tdcResult_LF = tdcResult; in PowerCC26X2_auxISR()
235 updateSubSecInc(tdcResult); in PowerCC26X2_auxISR()
253 tdcResult = HWREG(AUX_TDC_BASE + AUX_TDC_O_RESULT); in PowerCC26X2_auxISR()
256 tdcResult_HF1 = tdcResult; in PowerCC26X2_auxISR()
261 calibrateRcoscHf1(tdcResult); in PowerCC26X2_auxISR()
264 if ((tdcResult >= RCOSC_HF_LOW_THRESHOLD_TDC_VALUE) && in PowerCC26X2_auxISR()
265 (tdcResult <= RCOSC_HF_HIGH_THRESHOLD_TDC_VALUE)) { in PowerCC26X2_auxISR()
279 tdcResult = HWREG(AUX_TDC_BASE + AUX_TDC_O_RESULT); in PowerCC26X2_auxISR()
282 tdcResult_HF2 = tdcResult; in PowerCC26X2_auxISR()
285 calibrateRcoscHf2(tdcResult); in PowerCC26X2_auxISR()
591 static void updateSubSecInc(uint32_t tdcResult) in updateSubSecInc() argument
604 newSubSecInc = (45813 * tdcResult) / 256; in updateSubSecInc()
642 static void calibrateRcoscHf1(int32_t tdcResult) in calibrateRcoscHf1() argument
668 PowerCC26X2_module.nDeltaFreqCurr = (int32_t) tdcResult - RCOSC_HF_PERFECT_TDC_VALUE; in calibrateRcoscHf1()
759 static void calibrateRcoscHf2(int32_t tdcResult) in calibrateRcoscHf2() argument
762 PowerCC26X2_module.nDeltaFreqNew = (int32_t) tdcResult - RCOSC_HF_PERFECT_TDC_VALUE; in calibrateRcoscHf2()