请问DM6446 GPIO作为中断,bank2只有一个中断号,可以将bank2上的多个IO作为中断使用吗?
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.
请问DM6446 GPIO作为中断,bank2只有一个中断号,可以将bank2上的多个IO作为中断使用吗?
你好,
应该可以的。但是你需要读取GPIO Banks 2 and 3 Interrupt Status Register (INTSTAT23) 来确认具体是哪个GPIO触发了中断。
GPIO user guide有如下描述:
For the GPIO bank interrupts, INTSTAT can be used to determine which GPIO interrupt occurred. It is the responsibility of software to ensure that
all pending GPIO interrupts are appropriately serviced.