Comments inline..

On 8/10/2010 6:18 AM, Gilles Chanteperdrix wrote:
> ...snipped...
> The RTDM_IRQTYPE_EDGE is documented in RTDM API documentation: "Mark IRQ
> as edge-triggered, relevant for correct handling of shared
> edge-triggered IRQs. " Here:
> http://www.xenomai.org/documentation/xenomai-2.5/html/api/group__rtdmirq.html
The above quotation is the full extent of the documentation. The driver 
authors (we) ask the question, "Should I include this flag when I call 
rtdm_irq_request()?" The documentation leaves the answer ambiguous in 
the case where the RTDM_IRQTYPE_SHARED flag is not coded.

It also creates confusion. We assume that RTDM_IRQTYPE_EDGE will cause 
hardware to be configured similar to request_irq().We knows that the 
specification of RTDM_IRQTYPE_EDGE is insufficient.  Normally we need to 
specify which edge is to cause the interrupt. We question whether 
specifying RTDM_IRQTYPE_EDGE will cause our ISR to be entered on both 
rising and falling edges.

The essence of this e-mail discussion eventually needs to be added to 
the rtdm_irq_request() documentation.

Regards,
Bob Feretich

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to