39 float32 fPdiv = fFracDiv / (
float32)(sent->CH[channelId].CPDR.B.PDIV + 1);
41 uint32 div = sent->CH[channelId].CFDR.B.DIV;
45 float32 fTick = (fPdiv * 56) / div;
59 uint32 rmc = sent->CLC.B.RMC;
75 kernelFreq = fclc / (1024 - fdr.B.STEP);
77 else if (fdr.B.DM == 2)
79 kernelFreq = (fclc * fdr.B.STEP) / 1024;
91 const uint32 divMax = 3276;
97 tResult = fFracDiv * 56 * tUnit;
98 pDiv = tResult / divMax;
99 fDiv = tResult / pDiv;
104 fDiv = tResult / pDiv;
107 if ((pDiv > 1024) || (pDiv < 1))
110 fDiv = tResult / 1024;
120 Ifx_SENT_FDR tempFDR;
122 tempFDR.B.STEP = stepValue;
123 tempFDR.B.DM = dividerMode;
124 sent->FDR.U = tempFDR.U;
133 sent->KRST1.B.RST = 1;
134 sent->KRST0.B.RST = 1;
137 while (0 == sent->KRST0.B.RSTSTAT)
142 sent->KRSTCLR.B.CLR = 1;