EasyManua.ls Logo

ST STM32F31xx

ST STM32F31xx
584 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
UM1581
Reset and clock control (RCC)
DocID023800 Rev 1
327/584
18.2.8.2 RCC_I2CCLKConfig
Function Name
void RCC_I2CCLKConfig ( uint32_t RCC_I2CCLK)
Function Description
Configures the I2C clock (I2CCLK).
Parameters
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).
Return values
None.
Notes
None.
18.2.8.3 RCC_TIMCLKConfig
Function Name
void RCC_TIMCLKConfig ( uint32_t RCC_TIMCLK)
Function Description
Configures the TIM1 and TIM8 clock sources(TIMCLK).
Parameters
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).
Return values
None.
Notes
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.

Table of Contents

Related product manuals