Reset and clock control (RCC)
18.2.8.4 RCC_USARTCLKConfig
void RCC_USARTCLKConfig ( uint32_t RCC_USARTCLK)
Configures the USART clock (USARTCLK).
ï‚· RCC_USARTCLK : defines the USART clock source. This
clock is derived from the HSI or System clock. This parameter
can be one of the following values:
ï€ RCC_USARTxCLK_PCLK : USART clock = APB Clock
(PCLK)
ï€ RCC_USARTxCLK_SYSCLK : USART clock = System
Clock
ï€ RCC_USARTxCLK_LSE : USART clock = LSE Clock
ï€ RCC_USARTxCLK_HSI : USART clock = HSI Clock (x
can be 1, 2, 3, 4 or 5).
18.2.8.5 RCC_USBCLKConfig
void RCC_USBCLKConfig ( uint32_t RCC_USBCLKSource)
Configures the USB clock (USBCLK).
ï‚· RCC_USBCLKSource : specifies the USB clock source.
This clock is derived from the PLL output. This parameter can
be one of the following values:
ï€ RCC_USBCLKSource_PLLCLK_1Div5 : PLL clock
divided by 1,5 selected as USB clock source
ï€ RCC_USBCLKSource_PLLCLK_Div1 : PLL clock
selected as USB clock source