Re: Help implementing counter

On Tue, 16.12.03, Salvador Eduardo Tropea <salvador_at_inti.gov.ar> wrote:

> $ grep SUBD_COUNTER *
> 
>  Gives me nothing, so it looks like Comedi doesn?t implement any counter.
>  I have Comedi 0.7.67 sources, should I get something newer in order to 
> find an example of a counter?

The CVS version of adv_pci1710 has one counter subdevice (which actually
works on one of the three counters on the 8254), but the configuration code
was rejected because it does not adhere to the comedi counter configuration
standards (whatever those may be, if i were clearer on them i would have
fixed the code).

If you look at that code and maybe at whats in 8253.h (some stuff in there
for 8254, too), you should be able to add support for the counter for your
board.

cheers,

Nils

Received on 2003-12-16Z15:55:22