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.

[参考译文] MSP430F5529:如何使用其他 GPIO 端口在 TI-RTOS 上设置中断

Guru**** 2826755 points

Other Parts Discussed in Thread: MSP430F5529

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1033722/msp430f5529-how-to-use-other-gpio-port-to-set-interrupt-on-ti-rtos

主题中讨论的其他器件:MSP430F5529

尊敬的所有人:

我想在项目上设置 GPIO 中断。

但我只发现 、Port1 (47)和 port2 (42) halHwiID 已在 msp430f5529.h 中定义

#define port2_vector       (42 * 1U)           /* 0xFFD4端口2 */

#define Port1_vector       (47 * 1U)           /* 0xFFDE 端口1 */

如果我想使用其他端口(如端口4或端口8) GPIO、应该如何(设置)?

谢谢。

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

    你(们)好  

    仅支持 P1和 P2支持边沿可选中断。