This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] MSP430FR2355:计时器 B 中断

Guru**** 2387080 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1117310/msp430fr2355-timer-b-interrupts

器件型号:MSP430FR2355

您好!

客户 需要每1ms 创建一次计时器中断。

在所附的定时器代码中、MCU 从不退出 ISR。

如何清除计时器 B 中断标志?

e2e.ti.com/.../8424.tick.c

谢谢你。
此致、
5月

 

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    > TBR = 10000;//计数器寄存器

    对于向上计数模式、您需要设置 TB0CCR0。 我怀疑这应该是:

    > TB0CCR0 = 10000;// 向上计数模式限制