Searched refs:bestPre (Results 1 – 1 of 1) sorted by relevance
445 uint32_t bestPre = 0; in LPI2C_MasterSetBaudRate() local478 bestPre = prescale; in LPI2C_MasterSetBaudRate()507 if (bestPre == (1U << i)) in LPI2C_MasterSetBaudRate()509 bestPre = i; in LPI2C_MasterSetBaudRate()513 base->MCFGR1 = (base->MCFGR1 & ~LPI2C_MCFGR1_PRESCALE_MASK) | LPI2C_MCFGR1_PRESCALE(bestPre); in LPI2C_MasterSetBaudRate()