Searched refs:best_div (Results 1 – 2 of 2) sorted by relevance
323 uint32_t best_div = 0U; in I2C_MasterSetBaudRate() local331 best_div = srcClock_Hz / 8000000U; in I2C_MasterSetBaudRate()344 … > 18U) || ((best_scl < 4U)) || ((baudRate_Bps == 400000U) && (srcClock_Hz / best_div > 2000000U))) in I2C_MasterSetBaudRate()371 best_div = divider; in I2C_MasterSetBaudRate()386 base->CLKDIV = I2C_CLKDIV_DIVVAL(best_div - 1U); in I2C_MasterSetBaudRate()
204 uint32_t best_div = 0; in I2C_MasterSetBaudRate() local221 best_div = divider; in I2C_MasterSetBaudRate()234 base->CLKDIV = I2C_CLKDIV_DIVVAL(best_div - 1U); in I2C_MasterSetBaudRate()