User’s Manual
49
Writes the calibration constants, gain, and offset for an input based from global tables to designated posi-
tions in the simulated EEPROM area of the flash memory. The constants are stored in the top 2K of the
reserved user block memory area 0x1C00–0x1FFF. Depending on the flash size, the following macros
can be used to identify the starting address for these locations.
ADC_CALIB_ADDRS
, address start of single-ended analog input channels
ADC_CALIB_ADDRD
, address start of differential analog input channels
ADC_CALIB_ADDRM
, address start of milliamp analog input channels
NOTE:
This function cannot be run in RAM.
PARAMETER
channel
is the analog input channel number (0 to 7) corresponding to ADC_IN0–ADC_IN7
opmode
is the mode of operation:
SINGLE
—single-ended input line
DIFF
—differential input line
mAMP
—milliamp input line
int anaInEEWr(unsigned int channel, unsigned int
opmode, unsigned int gaincode);
channel
SINGLE
DIFF
mAMP
0
+AIN0
+AIN0 -AIN1
+AIN0
*
* Not accessible on RCM3600 Prototyping Board.
1
+AIN1
+AIN1 -AIN0*
2
+AIN2
+AIN2 -AIN3
3
+AIN3
+AIN3 -AIN2*
+AIN3
4
+AIN4
+AIN4 -AIN5
+AIN4
5
+AIN5
+AIN5 -AIN4*
+AIN5
6
+AIN6
+AIN6 -AIN7*
+AIN6
7
+AIN7
+AIN7 -AIN6*
ALLCHAN
read all channels for selected
opmode
Summary of Contents for RabbitCore
Page 1: ...RabbitCore RCM3600 C Programmable Core Module User s Manual 019 0135 050630 C ...
Page 6: ...RabbitCore RCM3600 ...
Page 12: ...6 RabbitCore RCM3600 ...
Page 92: ...86 RabbitCore RCM3600 ...
Page 128: ...122 RabbitCore RCM3600 ...
Page 132: ...126 RabbitCore RCM3600 ...
Page 136: ...130 RabbitCore RCM3600 ...
Page 138: ......