Searched refs:ccr (Results 1 – 1 of 1) sorted by relevance
313 int ccr, ccr_1, ccr_2; in stmI2cSpeedSet() local322 ccr = apb1_clk / (speed * 2); in stmI2cSpeedSet()323 if (ccr < 4) in stmI2cSpeedSet()324 ccr = 4; in stmI2cSpeedSet()325 regs->CCR = I2C_CCR(ccr); in stmI2cSpeedSet()