Lines Matching refs:baudRate_Hz
436 masterConfig->baudRate_Hz = 100000U; in LPI2C_MasterGetDefaultConfig()
526 LPI2C_MasterSetBaudRate(base, sourceClock_Hz, masterConfig->baudRate_Hz); in LPI2C_MasterInit()
616 void LPI2C_MasterSetBaudRate(LPI2C_Type *base, uint32_t sourceClock_Hz, uint32_t baudRate_Hz) in LPI2C_MasterSetBaudRate() argument
645 …clkCycle = (uint8_t)((10U * sourceClock_Hz / divider / baudRate_Hz + 5U) / 10U - (2U + filtScl) / … in LPI2C_MasterSetBaudRate()
664 … absError = baudRate_Hz > computedRate ? baudRate_Hz - computedRate : computedRate - baudRate_Hz; in LPI2C_MasterSetBaudRate()
694 while (tmpHigh > (bestclkCycle - 52U * sourceClock_Hz / baudRate_Hz / bestDivider / 100U + 1U)) in LPI2C_MasterSetBaudRate()
703 uint8_t tmpHold = (uint8_t)(sourceClock_Hz / baudRate_Hz / bestDivider / 2U) - 1U; in LPI2C_MasterSetBaudRate()
707 uint8_t tmpDataVd = (uint8_t)(sourceClock_Hz / baudRate_Hz / bestDivider / 4U) - 1U; in LPI2C_MasterSetBaudRate()
713 if ((sourceClock_Hz / baudRate_Hz / 20U) > (bestDivider + 2U)) in LPI2C_MasterSetBaudRate()
717 if (filtSda < (sourceClock_Hz / baudRate_Hz / 20U - bestDivider - 2U)) in LPI2C_MasterSetBaudRate()
719 filtSda = (uint8_t)(sourceClock_Hz / baudRate_Hz / 20U) - bestDivider - 2U; in LPI2C_MasterSetBaudRate()