当前位置:网站首页>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
边栏推荐
猜你喜欢

Search the complete navigation program source code

The simple problem of leetcode is to calculate the numerical sum of strings

【深度好文】Flink SQL流批⼀体化技术详解(一)

Description of the abnormity that the key frame is getting closer and closer in the operation of orb slam

PgSQL wants to implement all kinds of column sub query operations of MySQL

A simple theme of Typecho with beautiful appearance_ Scarfskin source code download

WordPress love navigation theme 1.1.3 simple atmosphere website navigation source code website navigation source code

396. Rotate Function

How to read books and papers

第一性原理 思维导图
随机推荐
英语课小记(四)
Failed to convert a NumPy array to a Tensor(Unsupported Object type int)
Ansible Automation Operation and Maintenance details (ⅰ) Installation and Deployment, Parameter use, list Management, Profile Parameters and user level ansible operating environment Construction
There are some problems when using numeric type to query string type fields in MySQL
Queue (C language / linked list)
2022.4.11-4.17 AI industry weekly (issue 93): the dilemma of AI industry
Campus transfer second-hand market source code download
CGM optimizes blood glucose monitoring and management -- Yiyu technology appears in Sichuan International Medical Exchange Promotion Association
【深度好文】Flink SQL流批⼀体化技术详解(一)
分组背包呀
A simple theme of Typecho with beautiful appearance_ Scarfskin source code download
Misunderstanding of flush () method of OutputStream class
Use of applicationreadyevent
输入/输出系统
RPC过程
jsp页面编码
线程的调度(优先级)
Data deletion and modification (MySQL)
信息收集相关知识点及题解
word加水印