简体   繁体   English

stm32中定时器/计数器溢出中断的名称是什么

[英]What is name of the timer/counter overflow interrupt in stm32

I am using timer in input capture mode in STM32 micro with keil compiler, and I want to trigger an interrupt whenever counter register of the dedicated timer overflows.我在带有keil编译器的STM32 micro中在输入捕获模式下使用定时器,并且我想在专用定时器的计数器寄存器溢出时触发中断。

Could anyone please tell me how i can do that?谁能告诉我我该怎么做? what is the name of this interrupt?这个中断的名字是什么?

Note: I am using hal functions.注意:我正在使用 hal 函数。

Please check out the (exact) controller type you are using on the STM homepage (you can start from here: https://www.st.com/en/microcontrollers-microprocessors/stm32-32-bit-arm-cortex-mcus.html请在STM主页上查看您使用的(确切)控制器类型(您可以从这里开始: https : //www.st.com/en/microcontrollers-microprocessors/stm32-32-bit-arm-cortex-mcus .html

On the product page for your controller, you'll find a useful list of PDFs under "Resources", especially在控制器的产品页面上,您会在“资源”下找到有用的 PDF 列表,尤其是

Looking for the correct library functions, you can use STM32CubeMX to configure the timers in a GUI and have the correct driver codes generated for you.寻找正确的库函数,您可以使用 STM32CubeMX 在 GUI 中配置定时器并为您生成正确的驱动程序代码。

Good luck!祝你好运!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM