101-0738 Rabbit Semiconductor, 101-0738 Datasheet - Page 93

no-image

101-0738

Manufacturer Part Number
101-0738
Description
CARD ETHERNET 512K SRAM SR9150
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 101-0738

Accessory Type
Smart Star CPU Card
For Use With/related Products
SR9150
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
PARAMETERS
RETURN VALUE
SEE ALSO
PARAMETERS
RETURN VALUE
SEE ALSO
User’s Manual
int anaInCalib(int channel, int value1,
int anaInEEWr(int channel);
Used to recalibrate the response of the A/D converter channel as a linear function using the two conver-
sion points provided. Gain and offset constants are calculated and placed into the global table
_adcCalib.
channel is the A/D converter input channel (0–10). channel should be passed as
where slotnumber is 0–6, and channelnumber is 0–10
or
where slotnumber is 0–6, and channelnumber is 0–10.
value1 is the first A/D converter value.
volt1 is the voltage/current corresponding to the first A/D converter value. Current values entered as
milliamps will produce milliamp values, and amp values entered will produce amp values.
value2 is the second A/D converter value.
volt2 is the voltage/current corresponding to the second A/D converter value. Current values entered
as milliamps will produce milliamp values, and amp values entered will produce amp values.
0 if successful,
-1, if not able to make calibration constants.
Writes the calibration constants, gain, and offset to the upper half of the EEPROM on the A/D Converter
Card.
channel is the analog input channel. channel should be passed as
where slotnumber is 0–6, and channelnumber is 0–10
or
where slotnumber is 0–6, and channelnumber is 0–10.
0 if successful.
-1—control command unacceptable.
-2—EEPROM address unacceptable.
-3—data value unacceptable.
float volt1, int value2, float volt2);
channel = (slotnumber * 128) + (channelnumber)
channel = ChanAddr(slotnumber, channelnumber)
anaIn, anaInVolts
channel = (slotnumber * 128) + (channelnumber)
channel = ChanAddr(slotnumber, channelnumber)
anaInEERd, _anaInEEWr
93

Related parts for 101-0738