[STM32F1] stm32cubeide调试的时候怎么停止定时器

[复制链接]
 楼主| 奔牛滚滚 发表于 2020-6-29 22:06 | 显示全部楼层 |阅读模式
本帖最后由 奔牛滚滚 于 2020-6-29 22:20 编辑

到了断点,但是定时器还在走.百度说用DBGMCU_APB1PeriphConfig(),但是编译找不到函数,也不知道hal库的完整源代码是放在哪里的,这可怎么办呢?
香水城 发表于 2020-6-30 08:06 | 显示全部楼层

When the microcontroller enters debug mode (Cortex™-M0 core halted), the TIMx counter either continues to work normally or stops,
depending on DBG_TIMx_STOP configuration bit in DBG module.
 楼主| 奔牛滚滚 发表于 2020-6-30 08:58 | 显示全部楼层
香水城 发表于 2020-6-30 08:06
When the microcontroller enters debug mode (Cortex™-M0 core halted), the TIMx counter either conti ...

多谢,已经下载了hal库的源代码.直接自己定义在文件里面.编译通过.还没时间测试是否会停止.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

384

主题

1461

帖子

6

粉丝
快速回复 在线客服 返回列表 返回顶部

384

主题

1461

帖子

6

粉丝
快速回复 在线客服 返回列表 返回顶部