Description: This example shows how to use, for debug purpose, the RCC_GetClocksFreq function
to retrieve the current status and frequencies of different on chip clocks.
You can see the RCC_ClockFreq structure content, which hold the frequencies of
different on chip clocks, using your toolchain debugger.
This example handles also the High Speed External clock (HSE) failure detection:
when the HSE clock disappears (broken or disconnected external Quartz) HSE, PLL
are disabled (but no change on PLL config), HSI selected as system clock source
and an interrupt (NMI) is generated. In the NMI ISR, the HSE, HSE ready interrupt
are enabled and once HSE clock recover, the HSERDY interrupt is generated and in
the RCC ISR routine the system clock is reconfigured to its previous state (before
HSE clock failure). You can monitor the system clock on MCO2 pin(PC9).
Four LEDs are toggled with a timing defined by the Delay function.
To Search:
File list (Check if you may need any files):
RCC
...\.DS_Store
__MACOSX
........\RCC
........\...\._.DS_Store
RCC\EWARM
...\.....\RCC.ewd
...\.....\RCC.ewp
...\.....\RCC.eww
...\.....\stm32f4xx_flash.icf
...\main.c
...\MDK-ARM
...\.......\RCC.uvopt
...\.......\RCC.uvproj
...\readme.txt
...\stm32f4xx_conf.h
...\stm32f4xx_it.c
...\stm32f4xx_it.h
...\system_stm32f4xx.c
...\TASKING
...\.......\.metadata
...\.......\RCC
...\.......\...\.cproject
...\.......\...\.project
...\.......\...\RCC.launch
...\.......\...\TASKING
...\.......\...\.......\cstart_thumb2.asm
...\.......\...\.......\stm32f2xx.lsl
...\TrueSTUDIO
...\..........\.metadata
...\..........\.........\Link
...\..........\RCC
...\..........\...\.cproject
...\..........\...\.project
...\..........\...\.settings
...\..........\...\.........\com.atollic.truestudio.debug.hardware_device.prefs
...\..........\...\RCC.elf.launch
...\..........\...\stm32_flash.ld