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...
Reset and clock control (RCC)
UM1581
328/584
DocID023800 Rev 1
18.2.8.4 RCC_USARTCLKConfig
Function Name
void RCC_USARTCLKConfig ( uint32_t RCC_USARTCLK)
Function Description
Configures the USART clock (USARTCLK).
Parameters
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).
Return values
None.
Notes
None.
18.2.8.5 RCC_USBCLKConfig
Function Name
void RCC_USBCLKConfig ( uint32_t RCC_USBCLKSource)
Function Description
Configures the USB clock (USBCLK).
Parameters
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
Return values
None.
Notes
None.

Table of Contents

Related product manuals