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.

[参考译文] CCS/MSP430FR5969:计时器

Guru**** 2554450 points


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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/669715/ccs-msp430fr5969-timers

器件型号:MSP430FR5969

工具/软件:Code Composer Studio

你好。。。

这是 haribrishna。我想使用计时器(TIMERERA0)在16MHz 频率下生成5分钟的延迟。我该怎么做 that..please 为我提供代码 example...it 能给我很多帮助

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    Harikrishna、您好!
    您可以使用另一个时钟源、而不是16MHz。

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

    1.配置定时器,使其定期中断;
    在定时器 ISR 中、计算发生的中断数量。 如果已达到所需的中断数量、则发出一个标志。
    3.在应用程序中围绕该标志循环。

    例如、如果以1ms 的间隔中断、则只需计数到中断调用的5 * 60 * 1000次。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    尊敬的 Dettmann:

    我们一段时间没有收到您的消息。 您是否能够解决您的问题?