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.

[参考译文] MSP430F6779:RTC 中断操作

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1269643/msp430f6779-operation-of-rtc-interrupt

器件型号:MSP430F6779

前提条件:

RTCOFIFG 已经置位、但是 RTCOFIE 被禁用。

 

如果我们在同一行中启用 RTCOFIE 并清除标志 RTCOFIFG。

RTCCTL0_L =(RTCOFIE | RTCRDYIE);

 

有可能 RTCOFIFG 中断仍然发生(RTCOFIFG 的中断服务例程)。

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

    您好  

    RTCOFIE 是 32kHz 晶体振荡器故障中断使能。 该中断可被用作 LPM3.5唤醒事件。

    RTCOFIFG 是一个 32kHz 晶体振荡器故障中断标志。 该中断可被用作应当 发生的 LPMx.5唤醒事件。

    BTW、RTC 代码示例 https://www.ti.com/tool/download/SLAC561 是有关 RTC 使用的参考。

    谢谢