From a61c28c6966d31cf40e50b4de1a4f257df61dcc0 Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Fri, 20 Apr 2012 13:28:15 +0100 Subject: [PATCH] doc/reference.xml: Added section for comedi_polynomial_t. The tutorial.xml contained links to a missing section for the comedi_polynomial_t type, so I added one. Signed-off-by: Ian Abbott --- doc/reference.xml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/doc/reference.xml b/doc/reference.xml index d12aaeb..465ea2e 100644 --- a/doc/reference.xml +++ b/doc/reference.xml @@ -696,6 +696,33 @@ a list of instructions. +
+ +comedi_polynomial_t + + + +#define COMEDI_MAX_NUM_POLYNOMIAL_COEFFICIENTS 4 +typedef struct { + double coefficients[COMEDI_MAX_NUM_POLYNOMIAL_COEFFICIENTS]; + double expansion_origin; + unsigned order; +} comedi_polynomial_t; + + + +A comedi_polynomial_t holds calibration data for a channel of a +subdevice. It is initialized by the +comedi_get_hardcal_converter +or comedi_get_softcal_converter +calibration functions and is passed to the +comedi_to_physical +and comedi_from_physical +raw/physical conversion functions. + + +
+
-- 2.26.2