Re: DIO cards with edge-triggered interrupts

On Monday 09 January 2006 12:18 pm, Calin A. Culianu wrote:
> Hi,
>
> I am developing a comedi driver for a winsystems PC-104 based DIO board.
> The neat thing about this DIO board is that it supports edge-triggered
> interrupts on 24 individual DIO lines.
>
> Since I am too lazy to research this myself, could someone just tell me
> how edge-triggered interrupts are modeled using the comedi driver
> framework?
>
> Basically how can I give this functionality to the user of the driver
> using the comedi API and framework?  It's not exactly a comedi command
> and it's not exactly a comedi_sv thingamajig.  Or is it?

The existing drivers implement a read command that generates a bogus sample 
every time the interrupt is triggered.

-- 
Frank

Received on 2006-01-10Z04:08:06