Searched refs:divOdd (Results 1 – 1 of 1) sorted by relevance
1097 uint32_t divEven, divOdd; in I3C_MasterSetBaudRate() local1158 divOdd = ((sourceClock_Hz / i2cBaud_HZ) / ((ppBaud + 1UL) * (odBaud + 1UL) - 1UL)) / 2UL; in I3C_MasterSetBaudRate()1159 divOdd = divOdd == 0UL ? 1UL : divOdd; in I3C_MasterSetBaudRate()1160 …errRate1 = I3C_CalcErrorRatio((uint32_t)(NSEC_PER_SEC / ((2UL * divOdd + 1UL) * i3cOdLow_Ns)), i2c… in I3C_MasterSetBaudRate()1165 i2cBaud = errRate0 < errRate1 ? (divEven - 1UL) * 2UL : (divOdd - 1UL) * 2UL + 1UL; in I3C_MasterSetBaudRate()