On 10/01/2014 07:54 PM, Lennart Sorensen wrote:
> On Wed, Oct 01, 2014 at 07:46:31PM +0200, Gilles Chanteperdrix wrote:
>> Are you sure you are not simply getting an interrupt and failing to
>> clear the interrupt condition?
>
> I won't claim to be sure yet.
Well, what is on the other end of the GPIO ? If this is a button, you
may want to set the interrupt type to edge, otherwise the interrupt will
remain asserted as long as you press the button, and you will get an
interrupt storm. If it is another GPIO, then you should reset that GPIO
state in the irq handler.
Also, it may actually be simpler to write an RTDM driver than to use the
deprecated, error-prone rtintr API.
--
Gilles.
_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai