STM32 F4 Clock Sources
2015-09-08 23:16
260 查看
STM32 F4 Clock Sources
Goal: routing clock sources to the microcontroller output pin (MCO1)High-speed internal (HSI) clock is 16MHz
High-speed external (HSE) clock is 8MHz (very precise)
PLL CLK is configured to be 84MHz because I have a 100MHz oscilloscope (unfortunately can't visualize the max 168MHz)
#include <stm32f4xx.h> #include "mcu_config.h" int main(void) { GPIO_config(); // Initializing and clocking PA.8 RCC_MCO1Config(RCC_MCO1Source_HSI, RCC_MCO1Div_1); // RCC_MCO1Config(RCC_MCO1Source_HSE, RCC_MCO1Div_1); // RCC_MCO1Config(RCC_MCO1Source_PLLCLK, RCC_MCO1Div_1); while(1) { } }
相关文章推荐
- UIButton用法小结
- 一步一步做一个linux文件传输软件(二)---->>>废话篇
- C++中引用(&)的用法和应用实例
- java第三弹--组合模式
- STM32 F4 DAC DMA Waveform Generator
- 今天心血来潮,重新弄安卓环境,发现只有4.4的版本,怎么装都不见其他版本,找了N多方法,加host文件,选择https/http也不行,最后找到了一篇终于搞定,底下加黄的就是亲测解决
- 选择排序
- 第一百五十八、九天 how can I 坚持
- android 数据流量统计
- 任务一 建立包含1500目录的多级目录结构
- Android Studio(五):修改Android Studio项目包名
- Android Studio(五):修改Android Studio项目包名
- POJ 1949 Chores(树形dp)
- JS抽奖二次方缓动测试
- hadoop-2.5.2伪分布环境搭建
- STM32 F4 General-purpose Timers for Periodic Interrupts
- UILable用法小结
- win7 QQ自动远程协助 提示关闭了远程桌面
- RFS自动化测试工具安装与使用总结
- STM32 F4 SPI Accelerometer