Lines Matching refs:baudRate_Hz
339 masterConfig->baudRate_Hz = 100000U; in LPI2C_MasterGetDefaultConfig()
425 LPI2C_MasterSetBaudRate(base, sourceClock_Hz, masterConfig->baudRate_Hz); in LPI2C_MasterInit()
513 void LPI2C_MasterSetBaudRate(LPI2C_Type *base, uint32_t sourceClock_Hz, uint32_t baudRate_Hz) in LPI2C_MasterSetBaudRate() argument
542 …clkCycle = (uint8_t)((10U * sourceClock_Hz / divider / baudRate_Hz + 5U) / 10U - (2U + filtScl) / … in LPI2C_MasterSetBaudRate()
561 … absError = baudRate_Hz > computedRate ? baudRate_Hz - computedRate : computedRate - baudRate_Hz; in LPI2C_MasterSetBaudRate()
591 while (tmpHigh > (bestclkCycle - 52U * sourceClock_Hz / baudRate_Hz / bestDivider / 100U + 1U)) in LPI2C_MasterSetBaudRate()
600 uint8_t tmpHold = (uint8_t)(sourceClock_Hz / baudRate_Hz / bestDivider / 2U) - 1U; in LPI2C_MasterSetBaudRate()
604 uint8_t tmpDataVd = (uint8_t)(sourceClock_Hz / baudRate_Hz / bestDivider / 4U) - 1U; in LPI2C_MasterSetBaudRate()
610 if ((sourceClock_Hz / baudRate_Hz / 20U) > (bestDivider + 2U)) in LPI2C_MasterSetBaudRate()
614 if (filtSda < (sourceClock_Hz / baudRate_Hz / 20U - bestDivider - 2U)) in LPI2C_MasterSetBaudRate()
616 filtSda = (uint8_t)(sourceClock_Hz / baudRate_Hz / 20U) - bestDivider - 2U; in LPI2C_MasterSetBaudRate()