用GPIO7[10]和GPIO7[14]这两个GPIO接收中断,这两个GPIO在同一个bank,如何分别设置ISR呢
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.
同一个bank只能对应一个ISR,可以在ISR里或者主程序里读取INTSTATn寄存器,判断是哪个GPIO管脚产生的中断,再去做相应的处理。
19.3.12 GPIO Interrupt Status Registers (INTSTATn)
https://www.ti.com/lit/ug/spruh79c/spruh79c.pdf