APCI1710_Inp_cpt.h revision c995fe9475e062bab6f5a45ed28cd2d3d955ef43
1/** 2@verbatim 3 4Copyright (C) 2004,2005 ADDI-DATA GmbH for the source code of this module. 5 6 ADDI-DATA GmbH 7 Dieselstrasse 3 8 D-77833 Ottersweier 9 Tel: +19(0)7223/9493-0 10 Fax: +49(0)7223/9493-92 11 http://www.addi-data-com 12 info@addi-data.com 13 14This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. 15 16This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 17 18You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 20You shoud also find the complete GPL in the COPYING file accompanying this source code. 21 22@endverbatim 23*/ 24 25#define APCI1710_SINGLE 0 26#define APCI1710_CONTINUOUS 1 27 28#define APCI1710_PULSEENCODER_READ 0 29#define APCI1710_PULSEENCODER_WRITE 1 30 31INT i_APCI1710_InsnConfigInitPulseEncoder(comedi_device * dev, 32 comedi_subdevice * s, comedi_insn * insn, lsampl_t * data); 33 34INT i_APCI1710_InsnWriteEnableDisablePulseEncoder(comedi_device * dev, 35 comedi_subdevice * s, comedi_insn * insn, lsampl_t * data); 36/* 37+----------------------------------------------------------------------------+ 38| READ PULSE ENCODER FUNCTIONS | 39+----------------------------------------------------------------------------+ 40*/ 41 42INT i_APCI1710_InsnReadInterruptPulseEncoder(comedi_device * dev, 43 comedi_subdevice * s, comedi_insn * insn, lsampl_t * data); 44 45/* 46+----------------------------------------------------------------------------+ 47| WRITE PULSE ENCODER FUNCTIONS | 48+----------------------------------------------------------------------------+ 49*/ 50 51INT i_APCI1710_InsnBitsReadWritePulseEncoder(comedi_device * dev, 52 comedi_subdevice * s, comedi_insn * insn, lsampl_t * data); 53