需要调用吗,systemcoreclockupdate
答案:1 悬赏:60 手机版
解决时间 2021-03-27 16:17
- 提问者网友:流星是天使的眼泪
- 2021-03-26 20:50
需要调用吗,systemcoreclockupdate
最佳答案
- 五星知识达人网友:人间朝暮
- 2021-03-26 21:37
你可以自行更新SystemCoreClock, 因为它就是定义在system_stm32f4xx.c里的一个全局变量
也可以使用SystemCoreClockUpdate()来进行更新,如下是system_stm32f4xx.c里的注释
* - SystemCoreClock variable: Contains the core clock (HCLK), it can be used
* by the user application to setup the SysTick
* timer or configure other parameters.
*
* - SystemCoreClockUpdate(): Updates the variable SystemCoreClock and must
* be called whenever the core clock is changed
* during program execution.
也可以使用SystemCoreClockUpdate()来进行更新,如下是system_stm32f4xx.c里的注释
* - SystemCoreClock variable: Contains the core clock (HCLK), it can be used
* by the user application to setup the SysTick
* timer or configure other parameters.
*
* - SystemCoreClockUpdate(): Updates the variable SystemCoreClock and must
* be called whenever the core clock is changed
* during program execution.
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯