User’s Manual
59
4.4.4 A/D Converter Inputs
Configures an A/D converter input channel pair for a given mode of operation. This function must be
called before accessing the A/D converter chip.
NOTE:
If you plan to configure the D/A converter chip using
anaOutConfig
, you must
call
anaOutConfig
before executing
anaInConfig
. This is because the A/D con-
verter uses internal channels 4–7 on the D/A converter chip to bias the A/D converter
input circuit.
PARAMETERS
ch_pair
are the channel pairs:
0 = channels 0 and 1
1 = channels 2 and 3
2 = channels 4 and 5
3 = channels 6 and 7
opmode
selects the mode of operation for the channel pair on A/D converter:
0 = Single-Ended unipolar (0–10 V)
1 = Single-Ended bipolar (±10 V)
2 = Differential bipolar (±20 V)
3 = 4–20 mA
RETURN VALUE
None.
SEE ALSO
brdInit, anaInCalib, anaInDriver, anaIn, anaInVolts, anaInmAmps, anaInDiff
void anaInConfig(int ch_pair, int opmode);
Summary of Contents for BL2600
Page 1: ...SBC BL2600 C Programmable Single Board Computer with Ethernet User s Manual 019 0142_L...
Page 6: ...SBC BL2600...
Page 14: ...8 SBC BL2600...
Page 96: ...90 SBC BL2600...
Page 112: ...106 SBC BL2600...
Page 116: ...110 SBC BL2600...