Re: Writing comedi drivers, and board specific feautures ...

Ok, thank you. So I have to declare new INSN_CONFIG flags in comedi.h,
like for some NI cards ? I will resume my needs properly in the
following days ...

François

2007/9/25, Ian Abbott <abbotti_at_mev.co.uk>:
> On 25/09/2007 13:59, François Poulain wrote:
> > Hello,
> >
> > I am new on that list, and I don't know what are the subjects recently
> > occurred. So, I am sorry if I approach a recurrent topic.
> >
> > I am writing a Comedi driver for the Humusoft MF624 Multifunction I/O
> > Card (http://www.humusoft.cz/datacq/mf624.htm). Analog and digital I/O
> > are quite well supported, but there are some specific features which
> > about I don't know the best way to implement them in a driver 100%
> > "Comedi compatible". More precisely, I have some timers and
> > quadratures encoders which can interfere in many way between them, and
> > with the ADC channels. I also have for example two "preload registers"
> > for the counters which can be used by many way, by example to generate
> > some PWM signals. In fact, it's mainly configurations parameters.
>
> In general, you use INSN_CONFIG instructions to configure things.  You
> might need to define some new types of INSN_CONFIG instructions to
> support all the features of your card.  There are already INSN_CONFIG
> instructions defined for configuring clock sources and gate sources.
> The configuration values are interpreted by the drivers in a
> hardware-specific manner.  If you need to define any extra
> functionality, feel free to discuss this on the mailing list.
>
> --
> -=( Ian Abbott _at_ MEV Ltd.    E-mail: <abbotti_at_mev.co.uk>        )=-
> -=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-
>


-- 
François Poulain <fpoulain_at_gmail.com>

Received on 2007-09-25Z15:17:38