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.

[参考译文] MSP430FR5969:Hwi 动态启用/禁用

Guru**** 2538930 points


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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1045931/msp430fr5969-hwi-dynamic-enable-disable

器件型号:MSP430FR5969

您好!
我在 GPIO 端口有3个 HWI-s、也许这是个愚蠢的问题、但我不确定是否应该针对 fram r/w、TCP 连接和 UART 通信对它们进行临时禁用。  

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

    最好在启用了 R/W 的 FRAM 区域中降低某些噪声或意外操作的风险。 但是、如果无法禁用中断、这是可以的。

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

    UART 呢? 它只应在写入前的操作时禁用它们? 禁用-sout-enabled -写入?

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

    禁用中断--启用 FRAM 写入权限--将数据写入 FRAM --禁用 FRAM 写入--启用中断

    要禁用/启用中断、您可以使用以下函数

    void __disable_interrupt (void);
    void __enable_interrupt (void);