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.

[参考译文] MSP430G2553:对低功耗模式有疑问?

Guru**** 2553680 points


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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/801911/msp430g2553-question-about-low-power-modes

器件型号:MSP430G2553

您好!

我不熟悉 MSP430。

我想使用低功耗模式。 这是我的尝试:



_bis_SR_register (LPM1_bits + GIE);//上面启用中断

我应该向我的代码中添加任何内容吗? 还是这足够了? (中断被启用)

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

    您好、Sunil、

    请参阅我随附的示例项目以供您参考。

    e2e.ti.com/.../msp430g2xx3_5F00_lpm3.c.zip

    谢谢、

    是的

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    谢谢、
    但我的项目正在运行。 这怎么会发生?
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好、Sunil、

    为了启用低功耗模式、这行代码将执行此操作、我在上面与您共享的示例仅供您参考如何使用 LPM 设置时钟和中断。

    谢谢、
    是的