Synced with comedi.

This commit is contained in:
Frank Mori Hess 2007-07-16 15:01:06 +00:00
parent 50f11c17b8
commit c8ff80779b

View file

@ -202,18 +202,21 @@ typedef unsigned short sampl_t;
/* subdevice types */ /* subdevice types */
#define COMEDI_SUBD_UNUSED 0 /* unused */ enum comedi_subdevice_type
#define COMEDI_SUBD_AI 1 /* analog input */ {
#define COMEDI_SUBD_AO 2 /* analog output */ COMEDI_SUBD_UNUSED, /* unused by driver */
#define COMEDI_SUBD_DI 3 /* digital input */ COMEDI_SUBD_AI, /* analog input */
#define COMEDI_SUBD_DO 4 /* digital output */ COMEDI_SUBD_AO, /* analog output */
#define COMEDI_SUBD_DIO 5 /* digital input/output */ COMEDI_SUBD_DI, /* digital input */
#define COMEDI_SUBD_COUNTER 6 /* counter */ COMEDI_SUBD_DO, /* digital output */
#define COMEDI_SUBD_TIMER 7 /* timer */ COMEDI_SUBD_DIO, /* digital input/output */
#define COMEDI_SUBD_MEMORY 8 /* memory, EEPROM, DPRAM */ COMEDI_SUBD_COUNTER, /* counter */
#define COMEDI_SUBD_CALIB 9 /* calibration DACs */ COMEDI_SUBD_TIMER, /* timer */
#define COMEDI_SUBD_PROC 10 /* processor, DSP */ COMEDI_SUBD_MEMORY, /* memory, EEPROM, DPRAM */
#define COMEDI_SUBD_SERIAL 11 /* serial IO */ COMEDI_SUBD_CALIB, /* calibration DACs */
COMEDI_SUBD_PROC, /* processor, DSP */
COMEDI_SUBD_SERIAL /* serial IO */
};
/* configuration instructions */ /* configuration instructions */