
Comedi
136 / 148
digital channel:
s626 has 3 dio subdevices (2,3 and 4) each with 16 i/o channels
supported configuration options:
INSN_CONFIG_DIO_QUERY
COMEDI_INPUT
COMEDI_OUTPUT
encoder:
Every channel must be configured before reading.
Example code
insn.insn=INSN_CONFIG; //configuration instruction
insn.n=1; //number of operation (must be 1)
insn.data=&initialvalue; //initial value loaded into encoder
//during configuration
insn.subdev=5; //encoder subdevice
insn.chanspec=CR_PACK(encoder_channel,0,AREF_OTHER); //encoder_channel
//to configure
comedi_do_insn(cf,&insn); //executing configuration
5.5.100 serial2002 -- Driver for serial connected hardware
Author: Anders Blomdell
Status: in development
5.5.101 skel -- Skeleton driver, an example for driver writers
Author: ds
Status: works
This driver is a documented example on how Comedi drivers are
written.
Configuration Options:
none
5.5.102 ssv_dnp -- SSV Embedded Systems DIL/Net-PC
Status: unknown
Kommentare zu diesen Handbüchern