当前位置:网站首页>STM32F4查看系统各部分频率
STM32F4查看系统各部分频率
2022-07-23 22:51:00 【武工12138】
对于STM32F4的时钟树配置,一些初学者(例如我)会在使用库函数版本(STM32CubeMX除外)配置其时钟树时,会怀疑自己时钟是否配置正确,因此查询了资料,发现stm32库函数版官方有一个结构体(真贴心),如下图所示:

使用方法:在主函数中定义一个结构体变量,并且使用库函数RCC_GetClocksFreq调用,如图所示:

RCC_ClocksTypeDef RCC_ClocksTypeTure;
RCC_GetClocksFreq(&RCC_ClocksTypeTure);然后在调试(debug)状态下查看定义的变量状态,如图所示:

边栏推荐
- 【golang学习笔记】并发基础
- unity visual studio2019升级到2022版本(扔掉盗版红渣)
- 小说里的编程 【连载之十九】元宇宙里月亮弯弯
- TAP 系列文章8 | TAP 学习中心——通过动手教程来学习
- QT set cache and compile output path
- STM32+ESP8266+MQTT协议连接阿里云物联网平台
- Programming in the novel [serial 19] the moon bends in the yuan universe
- Microsoft SQL Server数据库语言及功能使用(十三)
- torchvision.datasets.ImageFolder前的数据整理及使用方法
- [problem handling] merge made by the 'ort' strategy
猜你喜欢

MVVM和MVVMLight简介及项目开发(一)

砺夏行动 2022|源启数字化圆桌论坛即将上线
![[jailhouse article] a novel software architecture for mixed criticality systems (2020)](/img/ab/b9269acfa5135fdaa3d0d8cc052105.png)
[jailhouse article] a novel software architecture for mixed criticality systems (2020)

Niuke C basic exercises
![[golang learning notes] is parameter transfer in go language value transfer or reference transfer](/img/79/57b28d0e6501132c347f7e7c0516b3.png)
[golang learning notes] is parameter transfer in go language value transfer or reference transfer

Matlab wavelet toolbox import signal error (doesn't contain one dimensional single)
思源笔记的字体比其他的编辑器(Atom,VSC,sublime)内字体渲染更细更淡

TAP 系列文章6 | TAP的应用模型

Mongodb - Introduction to the usage of logical operators not, and, or, nor in query statements

Rails with OSS best practices
随机推荐
除了钱,创业者还需要什么?专访明月湖创赛创投机构
20. Valid parentheses valid parentheses
Life always needs a little passion
DHCP: prevent rogue DHCP server in the network
Sword finger offer II 115. reconstruction sequence
思源笔记的字体比其他的编辑器(Atom,VSC,sublime)内字体渲染更细更淡
Mongodb - Introduction to the usage of logical operators not, and, or, nor in query statements
MVVM和MVVMLight简介及项目开发(一)
ES6 use of arrow function
TikTok推出多语种字幕和翻译工具
El upload realizes the preview of uploaded files
[jailhouse article] a novel software architecture for mixed criticality systems (2020)
MySQL的 DDL和DML和DQL的基本语法
About synchronizing data from computer to mobile
系列文章|云原生时代下微服务架构进阶之路 - 微服务拆分的最佳实践
QT set cache and compile output path
礪夏行動|源啟數字化:既有模式,還是開源創新?
小说里的编程 【连载之十八】元宇宙里月亮弯弯
After reading this article, thoroughly understand grpc!
Data sorting and usage before torchvision.datasets.imagefolder