From: Frank Mori Hess Date: Fri, 6 Jul 2001 18:11:48 +0000 (+0000) Subject: added CR_PACK description X-Git-Tag: r0_7_16~44 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7e649096d2ddfbd6c32bc470298b86d55cec669a;p=comedilib.git added CR_PACK description --- diff --git a/doc/comedilib.sgml b/doc/comedilib.sgml index 0d31e35..ef115e0 100644 --- a/doc/comedilib.sgml +++ b/doc/comedilib.sgml @@ -656,7 +656,7 @@ structure should point to an array whose number of elements is specificed by macro. +together with the macro. The Constants and Macros

-CR_PACK(channel, range, aref) +CR_PACK()

-undocumented + structure, and the structure. + +The and + functions +are useful in discovering information about the available ranges. + +The +AREF_GROUND is for inputs/outputs referenced to ground +AREF_COMMON is for a `common' reference (the low inputs of all the channels are tied +together, but are isolated from ground) +AREF_DIFF is for differential inputs/outputs +AREF_OTHER is for any reference that does not fit into the above categories + +Particular drivers may or may not use the AREF flags. If they are not supported, they +are silently ignored. + +

+Source: /include/comedi.h + RANGE_LENGTH() @@ -1265,6 +1294,7 @@ Source: /lib/get.c

comedi_get_n_ranges() +

int comedi_get_n_ranges(comedi_t *it,unsigned int subdevice, unsigned int @@ -1292,6 +1322,7 @@ Source: /lib/get.c

comedi_get_range() +

comedi_range * comedi_get_range(comedi_t *it,unsigned int subdevice,unsigned int chan,unsigned int