Reset and clock control (RCC)
ï€ RCC_IT_LSIRDY : LSI ready interrupt
ï€ RCC_IT_LSERDY : LSE ready interrupt
ï€ RCC_IT_HSIRDY : HSI ready interrupt
ï€ RCC_IT_HSERDY : HSE ready interrupt
ï€ RCC_IT_PLLRDY : PLL ready interrupt
ï‚· NewState : new state of the specified RCC interrupts. This
parameter can be: ENABLE or DISABLE.
ï‚· The CSS interrupt doesn't have an enable bit; once the CSS
is enabled and if the HSE clock fails, the CSS interrupt occurs
and an NMI is automatically generated. The NMI will be
executed indefinitely, and since NMI has higher priority than
any other IRQ (and main program) the application will be
stacked in the NMI ISR unless the CSS interrupt pending bit
is cleared.
18.2.9.2 RCC_GetFlagStatus
FlagStatus RCC_GetFlagStatus ( uint8_t RCC_FLAG)
Checks whether the specified RCC flag is set or not.
ï‚· RCC_FLAG : specifies the flag to check. This parameter can
be one of the following values:
ï€ RCC_FLAG_HSIRDY : HSI oscillator clock ready
ï€ RCC_FLAG_HSERDY : HSE oscillator clock ready
ï€ RCC_FLAG_PLLRDY : PLL clock ready
ï€ RCC_FLAG_MCOF : MCO Flag
ï€ RCC_FLAG_LSERDY : LSE oscillator clock ready
ï€ RCC_FLAG_LSIRDY : LSI oscillator clock ready
ï€ RCC_FLAG_OBLRST : Option Byte Loader (OBL)
reset
ï€ RCC_FLAG_PINRST : Pin reset
ï€ RCC_FLAG_PORRST : POR/PDR reset
ï€ RCC_FLAG_SFTRST : Software reset
ï€ RCC_FLAG_IWDGRST : Independent Watchdog reset
ï€ RCC_FLAG_WWDGRST : Window Watchdog reset
ï€ RCC_FLAG_LPWRRST : Low Power reset
ï‚· The new state of RCC_FLAG (SET or RESET).