http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000788
Andrew Lunn <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Andrew Lunn <[email protected]> 2009-06-13 16:32:51 --- This patch needs a bit of a re-think. You need to be able to unmask and mask an interrupt from a GPIO pin. So it would be better if the macro took an enable/disable or mask/unmask parameter and then set a bit in IER or IDR. You ACK macro makes no sense. You cannot ACK a specific pin. What you have to do is read the interrupt status for a PIO port, ie 32 pins and then determine if your pin of interest has generated an interrupt. I cannot think of a way to do this with macros which is portable across different AT91SAM devices. You have to write some C code which is specific to your platform. -- Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
