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
316/584
DocID023800 Rev 1
18.2.5 Interrupts and flags management functions
RCC_ITConfig()
RCC_GetFlagStatus()
RCC_ClearFlag()
RCC_GetITStatus()
RCC_ClearITPendingBit()
18.2.6 Internal and external clocks, PLL, CSS and MCO configuration
functions
18.2.6.1 RCC_DeInit
Function Name
void RCC_DeInit ( void )
Function Description
Resets the RCC clock configuration to the default reset state.
Parameters
None.
Return values
None.
Notes
The default reset state of the clock configuration is given
below:
HSI ON and used as system clock source
HSE and PLL OFF
AHB, APB1 and APB2 prescalers set to 1.
CSS and MCO OFF
All interrupts disabled
However, this function doesn't modify the configuration of the
Peripheral clocks
LSI, LSE and RTC clocks
18.2.6.2 RCC_HSEConfig
Function Name
void RCC_HSEConfig ( uint8_t RCC_HSE)
Function Description
Configures the External High Speed oscillator (HSE).
Parameters
RCC_HSE : specifies the new state of the HSE. This
parameter can be one of the following values:
RCC_HSE_OFF : turn OFF the HSE oscillator,
HSERDY flag goes low after 6 HSE oscillator clock
cycles.
RCC_HSE_ON : turn ON the HSE oscillator
RCC_HSE_Bypass : HSE oscillator bypassed with
external clock

Table of Contents

Related product manuals