- From: Klaas Gadeyne <Klaas.Gadeyne_at_mech.kuleuven.ac.be>
- Date: Fri, 1 Aug 2003 16:11:38 +0200 (CEST)
> > I am writing a comedi driver for the Meilhaus ME-4000 MIO family. The board > > contains a 8254 counter subdevice. It allows 6 different modes to be > > configured. I looked at comedi.h to figure out what defines are available and > > found the GPCT_ defines. It is hard to match the defines against the 8254 > > modes. Is there a convention or should I choose the defines by my own? > > The Comedilib documentation describes how counter devices are > supposed to work. From <http://people.mech.kuleuven.ac.be/~bruyninc/comedi/html/x597.html#COUNTERTIMER> "Note that this configuration is only useful if the counting has to be done in software. Many cards offer configurable counters in hardware; e.g., general purpose timer cards can be configured to act as pulse generators, frequency counters, timers, encoders, etc." Am I wrong if I'm saying that comedi has not yet defined an API for those devices? We have tried to define an API for those cards. See previous posts about the NI 660x driver. Maybe you'll find them useful and can provide us with shortcomings about the API that is solely based on the NI boards. <https://cvs.comedi.org/pipermail/comedi/2003-July/004807.html> Best regards, Klaas
Received on 2003-08-01Z13:11:38