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/MSP432E401Y:如何在代码中保留变量值,即使在休眠复位后也是如此?

Guru**** 2583235 points


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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/755046/ccs-msp432e401y-how-to-retain-the-values-of-variables-in-the-code-even-after-hibernation-reset

器件型号:MSP432E401Y

工具/软件:Code Composer Studio

您好!

基于 RTC 匹配的休眠会重置整个程序、即、它会将变量和 GPIO 的值以及其他值重置为默认值。

在进入休眠模式之前、我们是否有任何方法可以保留变量的值或避免重置或恢复它留下的操作。

谢谢!!

Bindu

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

    还有一篇文章、我们将在其中进行类似的讨论。 该帖子位于以下位置: e2e.ti.com/.../2789796

    如果一个主题中包含与同一主题相关的讨论、将对所有论坛用户有所帮助。 如果您同意此帖子与链接的帖子类似、请关闭此帖子。 我们可以继续讨论链接的线程

    谢谢、
    SAI