User’s Manual
55
Reads the state of a single-ended A/D converter input channel and uses the previously set calibration
constants to convert it to volts.
If the gain code for a given channel has changed from the previous cycle, the following code accesses
will occur.
1. The EEPROM will be read to get the calibration constants for the new gain value.
2. The D/A converter will be written to bias the A/D converter input circuit for proper operation. (The
D/A converter access only applies for the single-ended bipolar A/D converter operation.)
PARAMETER
channel
is the A/D converter input channel (0–7).
gaincode
is the gain code of 0 to 7.
RETURN VALUE
A voltage value corresponding to the voltage on the analog input channel. A value of -4096 indicates an
overflow or out-of-range condition.
SEE ALSO
brdInit, anaInConfig, anaIn, anaInmAmps, anaInDiff, anaInCalib
float anaInVolts(int channel, int gaincode);
Содержание Wolf BL2600
Страница 1: ...Wolf BL2600 C Programmable Single Board Computer with Ethernet User s Manual 019 0142 040731 B ...
Страница 36: ...32 Wolf BL2600 ...
Страница 66: ...62 Wolf BL2600 ...
Страница 100: ...96 Wolf BL2600 ...
Страница 104: ...100 Wolf BL2600 ...
Страница 106: ......