
User’s Manual
61
Calibrates the response of the A/D converter channel as a linear function using the two conversion points
provided. Four values are calculated and placed into global table
_adcCalib
to be stored later store
into simulated EEPROM using the function
anaInEEWr()
. Each channel will have the following
information:
a linear constant,
a voltage offset,
a calculation gain code used to calculate calibrations, and
a user gain code to set voltage range (defaults to the calculation gain code).
NOTE:
Vcc monitoring is disabled when
anaInCalib
is running.
PARAMETERS
channel
is the analog input channel number (0 to 7) corresponding to AIN0–AIN7
opmode
is the mode of operation:
SINGLE
—single-ended input line
DIFF
—differential input line
mAMP
—milliamp input line
int anaInCalib(int channel, int opmode,
int gaincode, int value1, float volts1,
int value2, float volts2);
channel
SINGLE
DIFF
mAMP
0
+AIN0
+AIN0 -AIN1
+AIN0
1
+AIN1
—
+AIN1
2
+AIN2
+AIN2 -AIN3
+AIN2
3
+AIN3
—
+AIN3
4
+AIN4
+AIN4 -AIN5
—
5
+AIN5
—
—
6
+AIN6
+AIN6 -AIN7
—
7
+AIN7
—
—
Summary of Contents for Fox LP3500
Page 1: ...Fox LP3500 C Programmable Single Board Computer User s Manual 019 0111 081121 L...
Page 6: ...Fox LP3500...
Page 14: ...8 Fox LP3500...
Page 22: ...16 Fox LP3500...
Page 44: ...38 Fox LP3500...
Page 90: ...84 Fox LP3500...
Page 108: ...102 Fox LP3500 glFillCircle glPlotPolygon glFillPolygon...
Page 134: ...128 Fox LP3500...
Page 140: ...134 Fox LP3500...
Page 142: ......