From: Frank Mori Hess Date: Fri, 8 Feb 2008 21:42:25 +0000 (+0000) Subject: Added section for comedi_subdevice_type enum. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=86a6fa5989b8beb4ae60ce19f982f1de3a8ef141;p=comedilib.git Added section for comedi_subdevice_type enum. --- diff --git a/doc/reference.xml b/doc/reference.xml index 65dd6ee..6e27d6e 100644 --- a/doc/reference.xml +++ b/doc/reference.xml @@ -153,6 +153,39 @@ and converting from a physical value to Comedi's integer sample values (COMEDI_F +
+ +enum comedi_subdevice_type + + + + +enum comedi_subdevice_type { + COMEDI_SUBD_UNUSED, /* subdevice is unused by driver */ + COMEDI_SUBD_AI, /* analog input */ + COMEDI_SUBD_AO, /* analog output */ + COMEDI_SUBD_DI, /* digital input */ + COMEDI_SUBD_DO, /* digital output */ + COMEDI_SUBD_DIO, /* digital input/output */ + COMEDI_SUBD_COUNTER, /* counter */ + COMEDI_SUBD_TIMER, /* timer */ + COMEDI_SUBD_MEMORY, /* memory, EEPROM, DPRAM */ + COMEDI_SUBD_CALIB, /* calibration DACs and pots*/ + COMEDI_SUBD_PROC, /* processor, DSP */ + COMEDI_SUBD_SERIAL, /* serial IO */ + COMEDI_SUBD_PWM /* pulse width modulation */ +}; + + + +The comedi_subdevice_type enumeration specifies the possible values for +a subdevice type. These values are used by the functions +comedi_get_subdevice_type and +comedi_find_subdevice_by_type. + + +
+
@@ -373,7 +406,7 @@ deprecated, and should not be used in new applications.
-comedi_sv_t +comedi_sv_t (deprecated)