User’s Manual
57
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
—
—
Содержание Fox LP3500
Страница 1: ...Fox LP3500 C Programmable Single Board Computer User s Manual 019 0111 041029 E ...
Страница 6: ...Fox LP3500 ...
Страница 14: ...8 Fox LP3500 ...
Страница 22: ...16 Fox LP3500 ...
Страница 86: ...80 Fox LP3500 ...
Страница 120: ...114 Fox LP3500 ...
Страница 130: ...124 Fox LP3500 ...
Страница 134: ...128 Fox LP3500 ...
Страница 138: ...132 Fox LP3500 ...
Страница 142: ...136 Fox LP3500 ...
Страница 144: ......