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 #ifndef COMEDI_SUBD_TTLIO
26 #define COMEDI_SUBD_TTLIO 11 /* Digital Input Output But TTL */
29 #ifndef ADDIDATA_ENABLE
30 #define ADDIDATA_ENABLE 1
31 #define ADDIDATA_DISABLE 0
34 #define APCI3XXX_SINGLE 0
35 #define APCI3XXX_DIFF 1
36 #define APCI3XXX_CONFIGURATION 0
38 #define APCI3XXX_TTL_INIT_DIRECTION_PORT2 0
42 static const comedi_lrange range_apci3XXX_ai
= { 8, {BIP_RANGE(10),
52 static const comedi_lrange range_apci3XXX_ttl
= { 12, {BIP_RANGE(1),
66 static const comedi_lrange range_apci3XXX_ao
= { 2, {BIP_RANGE(10),