UM1581
18.2.8.2
RCC_I2CCLKConfig
Function Name
Function Description
Parameters
Return values
Notes
18.2.8.3
RCC_TIMCLKConfig
Function Name
Function Description
Parameters
Return values
Notes
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 :
RCC_I2CxCLK_SYSCLK :
(x can be 1 or 2).
None.
None.
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 :
clock (doubled frequency when prescaled)
RCC_TIMxCLK_PLLCLK :
(running up to 144 MHz) (x can be 1 or 8).
None.
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.
DocID023800 Rev 1
Reset and clock control (RCC)
I2Cx clock = HSI
I2Cx clock = System Clock
TIMx clock = APB high speed
TIMx clock = PLL output
327/584
Need help?
Do you have a question about the STM32F31xx and is the answer not in the manual?