文件名称:RCC1
- 所属分类:
- 微处理器(ARM/PowerPC等)
- 资源属性:
- [MacOS] [C/C++] [源码]
- 上传时间:
- 2013-11-01
- 文件大小:
- 44kb
- 下载次数:
- 0次
- 提 供 者:
- V***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
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.-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 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.-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.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
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