Home
last modified time | relevance | path

Searched refs:best_div (Results 1 – 2 of 2) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/flexcomm/i2c/
Dfsl_i2c.c323 uint32_t best_div = 0U; in I2C_MasterSetBaudRate() local
331 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()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/lpc_i2c/
Dfsl_i2c.c204 uint32_t best_div = 0; in I2C_MasterSetBaudRate() local
221 best_div = divider; in I2C_MasterSetBaudRate()
234 base->CLKDIV = I2C_CLKDIV_DIVVAL(best_div - 1U); in I2C_MasterSetBaudRate()