Added a few things to interface
authorDavid Schleef <ds@schleef.org>
Sun, 10 Feb 2002 04:54:09 +0000 (04:54 +0000)
committerDavid Schleef <ds@schleef.org>
Sun, 10 Feb 2002 04:54:09 +0000 (04:54 +0000)
include/linux/comedi.h

index 4980ffbe177cbf489ff05664347e0eebd5c0458c..cb30d86ea3f8222c0bc5c24ccc55482ed6870934 100644 (file)
@@ -57,7 +57,9 @@ typedef unsigned short sampl_t;
 #define CR_RANGE(a)    (((a)>>16)&0xff)
 #define CR_AREF(a)     (((a)>>24)&0x03)
 
-#define CR_DITHER      (1<<26)
+#define CR_ALT_FILTER  (1<<26)
+#define CR_DITHER              CR_ALT_FILTER
+#define CR_DEGLITCH            CR_ALT_FILTER
 #define CR_INVERT      (1<<31)
 
 #define AREF_GROUND    0x00            /* analog ref = analog ground */
@@ -193,9 +195,16 @@ typedef unsigned short sampl_t;
 #define COMEDI_SUBD_CALIB               9      /* calibration DACs */
 #define COMEDI_SUBD_PROC                10     /* processor, DSP */
 
+/* configuration instructions */
 
 #define COMEDI_INPUT                   0
 #define COMEDI_OUTPUT                  1
+#define COMEDI_OPENDRAIN               2
+
+#define INSN_CONFIG_ANALOG_TRIG                0x10
+//#define INSN_CONFIG_WAVEFORM         0x11
+//#define INSN_CONFIG_TRIG             0x12
+//#define INSN_CONFIG_COUNTER          0x13
 
 /* ioctls */