Reset and clock control (RCC)
18.2.8.2 RCC_I2CCLKConfig
void RCC_I2CCLKConfig ( uint32_t RCC_I2CCLK)
Configures the I2C clock (I2CCLK).
ï‚· RCC_I2CCLK : defines the I2C clock source. This clock is
derived from the HSI or System clock. This parameter can be
one of the following values:
ï€ RCC_I2CxCLK_HSI : I2Cx clock = HSI
ï€ RCC_I2CxCLK_SYSCLK : I2Cx clock = System Clock
(x can be 1 or 2).
18.2.8.3 RCC_TIMCLKConfig
void RCC_TIMCLKConfig ( uint32_t RCC_TIMCLK)
Configures the TIM1 and TIM8 clock sources(TIMCLK).
ï‚· RCC_TIMCLK : defines the TIMx clock source. This
parameter can be one of the following values:
ï€ RCC_TIMxCLK_HCLK : TIMx clock = APB high speed
clock (doubled frequency when prescaled)
ï€ RCC_TIMxCLK_PLLCLK : TIMx clock = PLL output
(running up to 144 MHz) (x can be 1 or 8).
ï‚· The configuration of the TIMx clock source is only possible
when the SYSCLK = PLL and HCLK and PCLK2 clocks are
not divided in respect to SYSCLK
ï‚· If one of the previous conditions is missed, the TIM clock
source configuration is lost and calling again this function
becomes mandatory.