At 06:24 AM 6/30/2005, Lothar Wassmann wrote:
Hi,

Michael Kelly writes:
> Bill,
>
> One issue with the PXA255 edge triggering is that you need
> to be sure you poll the state of the interrupt line before you
> re-enable the GPIO interrupt.  That way if the device is asking
> for more servicing, you won't miss it since there will be no
> edge to detect.
>
No. If you mask all interrupts (in the ISP116x chip) upon entering the
interrupt handler (which will deassert the INT output) and restore the
interrupt mask register upon exit, you won't miss any interrupts,
since the interrupt line will be reasserted when another interrupt
condition exists when interrupts are reenabled.

The ISP116x interrupt handler does it this way.


Lothar Wassmann

Does this handle the fact that the interrupt in the PXA255
is only recognized when there is a transition (ie edge)?

Michael




Michael J. Kelly
VP Engineering
Cogent Computer Systems, Inc.
***NEW ADDRESS AND PHONE/FAX***
10 Industrial Dr., Unit B
Smithfield, RI 02917
tel:401-223-3441 fax:401-223-3442
www.cogcomp.com
alternate email: [EMAIL PROTECTED]



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to