Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/imx/drivers/
Di2c_imx.c104 uint8_t clkDivIndex = 0; in I2C_SetBaudRate() local
114 clkDivIndex = 0; in I2C_SetBaudRate()
119 clkDivIndex = sizeof(i2cClkDivTab)/sizeof(i2cClkDivTab[0]) - 1; in I2C_SetBaudRate()
123 while (i2cClkDivTab[clkDivIndex][0] < clockDiv) in I2C_SetBaudRate()
124 clkDivIndex++; in I2C_SetBaudRate()
127 I2C_IFDR_REG(base) = i2cClkDivTab[clkDivIndex][1]; in I2C_SetBaudRate()