AnsweredAssumed Answered

How to get interrupted pin number with LPC54628

Question asked by Rahul Patel on Sep 10, 2019
Latest reply on Sep 11, 2019 by Rahul Patel

Hello, 

 

With LPC54628, looking into GPIO interrupt functionality, found that only way to use GPIO as an interrupt is either GINT or PINT. And, it works only for port 0 and 1. Correct me if I am wrong.

 

Anyway, as with PINT it is possible only 8 pins to use as pin interrupt at a time, I switched to GINT. I am able to get interrupt with port(port 0 for example), but could not able to get which pin (pin 5 of port 0 for example) of the port generating the interrupt. Checked into documents but could not found any status register to read pin which is interrupted.

 

Is it possible to get pin number which is being interrupted with GINT.? Or any other method which can be used for GPIO interrupt.?

 

Thanks.

Outcomes