From 905b99fb60db35e07b2193c66f03feecb8126a66 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Fri, 8 Sep 2006 19:40:15 +0000 Subject: [PATCH] Added brief description of enum comedi_conversion_direction --- doc/reference.sgml | 32 +++++++++++++++++++++++++++----- 1 file changed, 27 insertions(+), 5 deletions(-) diff --git a/doc/reference.sgml b/doc/reference.sgml index 5c4a29f..57f6315 100644 --- a/doc/reference.sgml +++ b/doc/reference.sgml @@ -31,12 +31,12 @@ CR_PACK CR_PACK is used to initialize the elements of the chanlist array in the comedi_cmd data structure, -and the chanspec member of the +and the chanspec member of the comedi_insn structure. @@ -46,7 +46,7 @@ use, with the channel numbering starting at zero. The range rng is an index, starting at zero, -whose meaning is device dependent. The +whose meaning is device dependent. The comedi_get_n_ranges() and comedi_get_range() @@ -121,6 +121,28 @@ file at version 1.0. Binary compatibility may be broken for version +
+ +enum comedi_conversion_direction + + + + +enum comedi_conversion_direction +{ + COMEDI_TO_PHYSICAL, + COMEDI_FROM_PHYSICAL +}; + + + +A comedi_conversion_direction is used to choose between converting data +from Comedi's integer sample values to a physical value (COMEDI_TO_PHYSICAL), +and converting from a physical value to Comedi's integer sample values (COMEDI_FROM_PHYSICAL). + + +
+
@@ -247,7 +269,7 @@ A valid comedi_t pointer is returned by a successful call to comedi_open(), and should be used for subsequent access to the device. -It is a transparent type, and pointers to type +It is a transparent type, and pointers to type comedi_t should not be dereferenced by the application. @@ -297,7 +319,7 @@ typedef unsigned int lsampl_t; -The data type +The data type lsampl_t is the data type typically used to represent data values in libcomedi. On most architectures, -- 2.26.2