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.

[参考译文] TM4C1294NCPDT:禁用来自 ISR 的 GPIO 中断

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1455365/tm4c1294ncpdt-disabling-a-gpio-interrupt-from-isr

器件型号:TM4C1294NCPDT

工具与软件:

尊敬的 SupportTeam:

输入信号是一个脉冲、我们只需要在第一个上升沿触发中断。 我可以在收到第一个中断时禁用来自 ISR 的中断(GPIO_disableInt)吗?

会有多种情况 需要处理此类脉冲输入信号、有一定的操作会触发这些脉冲、这样我就知道何时重新启用 中断。  

有没有更好的方法来处理这种情况?

感谢您的回答。

此致

Abhijit

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    输入信号是一个脉冲、我们只需要在第一个上升沿触发中断。 我可以在接收到第一个中断时从 ISR 禁用中断(GPIO_disableInt)吗?[/QUOT]

    是的、你可以在第一个脉冲后禁用中断。

x 出现错误。请重试或与管理员联系。