Re: data[] for digital I/O

On Thursday 25 October 2007 16:04, jeremy theler wrote:
> I am writing a new driver for a data aquisition card that I own (I think
> it is only sold in Argentina
> www.microaxial.com.ar/Adquisidores%20internos.html), and managed to get
> the ADC working. But when dealing with digital I/O, I don't get how
> comedilib passes the information to do_insn() on what bit to write (or
> read) and if it is a 1 or a 0. I get that it is somehow encoded in the
> data[] array, but don't get how.
>
> any help would be really appreciated

grepping the drivers for those that implement an "insn_bits" for a 
subdevice will probably help.

>
> and, btw, would the official developers like this driver to be added to
> comedi? If this is the case, what are the official steps in order for a
> new driver to be accepted?

Sure.  Put it in the bugzilla.  And probably post to the list that it's 
there, as sometimes it takes a while for me to check for new items in the 
bugzilla, since bugs are such a downer :)

-- 
Frank

Received on 2007-10-26Z01:09:26