Xenomai  3.0.8
calibration.c File Reference

Analogy for Linux, device, subdevice, etc. More...

Include dependency graph for calibration.c:

Functions

int a4l_read_calibration_file (char *name, struct a4l_calibration_data *data)
 Read the analogy generated calibration file. More...
 
int a4l_get_softcal_converter (struct a4l_polynomial *converter, int subd, int chan, int range, struct a4l_calibration_data *data)
 Get the polynomial that will be use for the software calibration. More...
 
int a4l_rawtodcal (a4l_chinfo_t *chan, double *dst, void *src, int cnt, struct a4l_polynomial *converter)
 Convert raw data (from the driver) to calibrated double units. More...
 
int a4l_dcaltoraw (a4l_chinfo_t *chan, void *dst, double *src, int cnt, struct a4l_polynomial *converter)
 Convert double values to raw calibrated data using polynomials. More...
 

Detailed Description

Analogy for Linux, device, subdevice, etc.

related features

Note
Copyright (C) 1997-2000 David A. Schleef ds@sc.nosp@m.hlee.nosp@m.f.org
Copyright (C) 2014 Jorge A. Ramirez-Ortiz jro@x.nosp@m.enom.nosp@m.ai.or.nosp@m.g

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.