From 7e649096d2ddfbd6c32bc470298b86d55cec669a Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Fri, 6 Jul 2001 18:11:48 +0000 Subject: [PATCH] added CR_PACK description --- doc/comedilib.sgml | 37 ++++++++++++++++++++++++++++++++++--- 1 file changed, 34 insertions(+), 3 deletions(-) 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 -- 2.26.2