Reset and clock control (RCC)
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
Resets the RCC clock configuration to the default reset state.
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
void RCC_HSEConfig ( uint8_t RCC_HSE)
Configures the External High Speed oscillator (HSE).
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