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.

[参考译文] MSPM0L1306:如何单独设置 GPIO 中断、而不是在一个组中设置所有引脚?

Guru**** 2445440 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1289664/mspm0l1306-how-do-i-set-up-gpio-interrupt-separately-and-not-all-pins-in-one-group

器件型号:MSPM0L1306

您好、专家:

在示例代码中、GPIO 中断设置为 Group1_IRQHandler。

我有一些 GPIO 中断。 如何使用不同的 IRQ 处理程序(不在组中)设置 GPIO?

Br、

弗兰克

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

    尊敬的 Frank:

    恐怕你不能这样做。  

    通常、客户可以检查哪个 GPIO 触发  Group1_IRQHandler 内部的中断。

    此致、

    现金豪

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

    现金、

    您的意思是检查 GPIO 电平、以便知道它是从哪个引脚发出的上升或下降中断、对吧?

    Br、

    弗兰

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

    尊敬的 Frank:

    可以。 您可以 在 SDK 中参考示例代码 GPIO_synchronous _interrupts。

    此致、

    现金豪