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_TTL_INIT 0
26 #define APCI1710_TTL_INITDIRECTION 1
28 #define APCI1710_TTL_READCHANNEL 0
29 #define APCI1710_TTL_READPORT 1
32 +----------------------------------------------------------------------------+
33 | TTL INISIALISATION FUNCTION |
34 +----------------------------------------------------------------------------+
37 INT i_APCI1710_InsnConfigInitTTLIO(comedi_device * dev, comedi_subdevice * s,
38 comedi_insn * insn, lsampl_t * data);
40 +----------------------------------------------------------------------------+
41 | TTL INPUT FUNCTION |
42 +----------------------------------------------------------------------------+
45 INT i_APCI1710_InsnBitsReadTTLIO(comedi_device * dev, comedi_subdevice * s,
46 comedi_insn * insn, lsampl_t * data);
47 INT i_APCI1710_InsnReadTTLIOAllPortValue(comedi_device * dev,
48 comedi_subdevice * s, comedi_insn * insn, lsampl_t * data);
50 +----------------------------------------------------------------------------+
51 | TTL OUTPUT FUNCTIONS |
52 +----------------------------------------------------------------------------+
55 INT i_APCI1710_InsnWriteSetTTLIOChlOnOff(comedi_device * dev,
56 comedi_subdevice * s, comedi_insn * insn, lsampl_t * data);