Searched refs:pclk1 (Results 1 – 1 of 1) sorted by relevance
368 uint32_t pclk1 = 0U; in HAL_I2C_Init() local397 pclk1 = HAL_RCC_GetPCLK1Freq(); in HAL_I2C_Init()400 if(pclk1 < I2C_MIN_PCLK_FREQ) in HAL_I2C_Init()411 freqrange = I2C_FREQ_RANGE(pclk1); in HAL_I2C_Init()423 …MODIFY_REG(hi2c->Instance->CCR, (I2C_CCR_FS | I2C_CCR_DUTY | I2C_CCR_CCR), I2C_SPEED(pclk1, hi2c->… in HAL_I2C_Init()