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.

[参考译文] MSP430FR2355:中断问题

Guru**** 2526700 points


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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/992343/msp430fr2355-interrupt-problem

器件型号:MSP430FR2355

我在端口3.3 (用于左侧指示灯)和 P3.4 (用于右侧指示灯)处使用两个开关。

如何为端口3等同一端口编写中断代码?

我已连接两个开关的 LED。当特定开关为 pressed..please 时、我必须打开 LED。帮助我。

提前感谢您

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

    您好!  

    对于端口中断、即使它们使用相同的中断源、我们也可以通过 IFG 标志来分离不同的源。 请参阅端口示例: msp430fr235x_P1_03.c @ dev.ti.com