|
Xenomai
3.3
|

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... | |
| 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.
| [in] | chan | Channel descriptor |
| [out] | dst | Ouput buffer |
| [in] | src | Input buffer |
| [in] | cnt | Count of conversion to perform |
| [in] | converter | Conversion polynomial |
| 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.
| [out] | converter | Polynomial to be used on the software calibration |
| [in] | subd | Subdevice index |
| [in] | chan | Channel |
| [in] | range | Range |
| [in] | data | Calibration data read from the calibration file |
| 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.
| [in] | chan | Channel descriptor |
| [out] | dst | Ouput buffer |
| [in] | src | Input buffer |
| [in] | cnt | Count of conversion to perform |
| [in] | converter | Conversion polynomial |
| int a4l_read_calibration_file | ( | char * | name, |
| struct a4l_calibration_data * | data | ||
| ) |
Read the analogy generated calibration file.
| [in] | name | Name of the calibration file |
| [out] | data | Pointer to the calibration file contents |