4 Copyright (C) 2004,2005 ADDI-DATA GmbH for the source code of this module.
10 Fax: +49(0)7223/9493-92
11 http://www.addi-data-com
14 This 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.
16 This 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.
18 You 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
20 You shoud also find the complete GPL in the COPYING file accompanying this source code.
25 #define APCI1710_30MHZ 30
26 #define APCI1710_33MHZ 33
27 #define APCI1710_40MHZ 40
29 #define APCI1710_GATE_INPUT 10
31 #define APCI1710_TOR_SIMPLE_MODE 2
32 #define APCI1710_TOR_DOUBLE_MODE 3
33 #define APCI1710_TOR_QUADRUPLE_MODE 4
35 #define APCI1710_SINGLE 0
36 #define APCI1710_CONTINUOUS 1
38 #define APCI1710_TOR_GETPROGRESSSTATUS 0
39 #define APCI1710_TOR_GETCOUNTERVALUE 1
40 #define APCI1710_TOR_READINTERRUPT 2
43 +----------------------------------------------------------------------------+
44 | TOR_COUNTER INISIALISATION FUNCTION |
45 +----------------------------------------------------------------------------+
48 INT i_APCI1710_InsnConfigInitTorCounter(comedi_device * dev,
49 comedi_subdevice * s, comedi_insn * insn, lsampl_t * data);
51 INT i_APCI1710_InsnWriteEnableDisableTorCounter(comedi_device * dev,
52 comedi_subdevice * s, comedi_insn * insn, lsampl_t * data);
54 INT i_APCI1710_InsnReadGetTorCounterInitialisation(comedi_device * dev,
55 comedi_subdevice * s, comedi_insn * insn, lsampl_t * data);
57 +----------------------------------------------------------------------------+
58 | TOR_COUNTER READ FUNCTION |
59 +----------------------------------------------------------------------------+
62 INT i_APCI1710_InsnBitsGetTorCounterProgressStatusAndValue(comedi_device * dev,
63 comedi_subdevice * s, comedi_insn * insn, lsampl_t * data);