Rabbit RabbitCore RCM4200 User Manual page 66

C-programmable analog core module with serial flash and etherne
Table of Contents

Advertisement

int anaInCalib(int channel, int opmode, int gaincode,
int value1, float volts1, int value2, float volts2);
DESCRIPTION
Calibrates the response of the desired A/D converter channel as a linear function using
the two conversion points provided. Four values are calculated and placed into global
tables _adcCalibS, _adcCalibD, and adcCalibM to be later stored into simulat-
ed EEPROM using the function anaInEEWr(). Each channel will have a linear con-
stant and a voltage offset.
PARAMETERS
channel
opmode
channel
0
1
2
3
4
5
6
7
* Not accessible on Prototyping Board.
60
anaInCalib
the channel number (0 to 7) corresponding to LN0 to LN7.
the mode of operation:
SINGLE—single-ended input
DIFF—differential input
mAMP—4–20 mA input
SINGLE
+AIN0
+AIN0 -AIN1
+AIN1
+AIN1 -AIN0*
+AIN2
+AIN2 -AIN3
+AIN3
+AIN3 -AIN2*
+AIN4
+AIN4 -AIN5
+AIN5
+AIN5 -AIN4*
+AIN6
+AIN6 -AIN7*
+AIN7
+AIN7 -AIN6*
DIFF
mAMP
+AIN0
+AIN1*
+AIN2*
+AIN3
+AIN4
+AIN5
+AIN6
+AIN7*
*
RabbitCore RCM4200

Advertisement

Table of Contents
loading

Table of Contents