当前位置:网站首页>HAL库的RCC简介
HAL库的RCC简介
2022-04-23 08:10:00 【隔壁家的王小琪】
一、RCC的时钟树总览




时钟输入源有四个。
选择器、(预)分频器和倍频器。
最终设置的频率。
SYSCLK系统时钟

SYSCLK可以有三种方式得到:
1、HSI内部高速时钟用的是RC振荡器,频率为8M,精度不高,没有经过分频器和倍频器,这种方式得到的SYSCLK时钟就是8M
2、HSE外部高速时钟一般外接4-16MHZ晶振,由于采用外接晶振,所以精度大大提高,但增加了成本,这种方式得到的SYSCLK时钟就和HSE时钟频率一样,为外接晶振频率,一般是8M
3、通过PLLCLK得到,这种方式是经过分频器、倍频器和选择器分配后得到的时钟。其输入时钟为HSI或HSE,由于有分频器和倍频器的加入,所以得到的SYSCLK时钟可以超频或降频时钟,STM32F103最大的SYSCLK为72MHZ。
HCLK时钟

HCLK时钟经过SYSCLK分频后得到,一般将HCLK和SYSCLK设置为一致
FCLK时钟

FCLK频率和HCLK始终保持一致
PCLK时钟

PCLK给单片机外设提供时钟,分为PCLK1和PCLK2
APB1外设最大时钟频率为36MHZ
RTC时钟

独立看门狗时钟

版权声明
本文为[隔壁家的王小琪]所创,转载请带上原文链接,感谢
https://blog.csdn.net/wsq_666/article/details/124356180
边栏推荐
- 【深度好文】Flink SQL流批⼀体化技术详解(一)
- Detailed explanation of ansible automatic operation and maintenance (I) installation and deployment, parameter use, list management, configuration file parameters and user level ansible operating envi
- freertos学习02-队列 stream buffer message buffer
- How to generate assembly file
- 一键清理项目下pycharm和Jupyter缓存文件
- Large amount of data submitted by form post
- lgb,xgb,cat k折交叉验证
- 面了一圈,整理了这套面试题。。
- JS converts tree structure data into one-dimensional array data
- K210学习笔记(二) K210与STM32进行串口通信
猜你喜欢

Search the complete navigation program source code

Shell script advanced

测试你的机器学习流水线

项目上传部分

LeetCode簡單題之計算字符串的數字和

My heart's broken! A woman's circle of friends envied others for paying wages on time and was fired. Even her colleagues who liked her were fired together

MySQL数据库中delete、truncate、drop原理详解

《深度学习》学习笔记(八)

Idea: export Yapi interface using easyyapi plug-in

idea配置连接远程数据库MySQL,或者是Navicat连接远程数据库失败问题(已解决)
随机推荐
CGM优化血糖监测管理——移宇科技亮相四川省国际医学交流促进会
Comparison of indoor positioning technology
Shell script advanced
synchronized 实现原理
form中enctype属性
form表单 post提交 数据量大的问题
5.6 comprehensive case - RTU-
QFileDialog select multiple files or folders
DOM learning - add + - button
使用JWT生成与解析Token
二维01背包
匿名类型(C# 指南 基础知识)
colorui 解决底部导航遮挡内容问题
Queue (C language / linked list)
One click cleanup of pycharm and jupyter cache files under the project
万物互联下如何对设备进行加密
对OutputStream类的flush()方法的误解
Word plus watermark
JSP page coding
396. Rotate Function