Re: Counter device

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 31 July 2003 09:06 am, Guenter Gebhardt wrote:
> Hello,
>
> 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?
>
> Best regards,
>
> Gebhardt

There are a couple little functions in 8253.h that may be helpful, just to 
make sure you are aware of them.  Ultimately, it would be nice to have 
generic support for an 8253/8254 subdevice sort of like what we have for 
the 8255 (see 8255.c).

- -- 
Frank

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/KeLm5vihyNWuA4URAkjlAKDZJMOp3ARfm56VxEm/7dNTgWvcPwCfYfnP
dK4ZZrjeMGMrPeGhwq8osWo=
=TM1/
-----END PGP SIGNATURE-----

Received on 2003-08-01Z02:47:50