Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/imx/drivers/
Di2c_imx.c36 static const uint32_t i2cClkDivTab[][2] = variable
111 if (clockDiv < i2cClkDivTab[0][0]) in I2C_SetBaudRate()
116 else if (clockDiv > i2cClkDivTab[sizeof(i2cClkDivTab)/sizeof(i2cClkDivTab[0]) - 1][0]) in I2C_SetBaudRate()
119 clkDivIndex = sizeof(i2cClkDivTab)/sizeof(i2cClkDivTab[0]) - 1; in I2C_SetBaudRate()
123 while (i2cClkDivTab[clkDivIndex][0] < clockDiv) in I2C_SetBaudRate()
127 I2C_IFDR_REG(base) = i2cClkDivTab[clkDivIndex][1]; in I2C_SetBaudRate()