BL4S200 User’s Manual
111
anaInConfig (continued)
PARAMETERS
channel
analog input channel, 0–7 (AIN0–AIN7)
opmode
selects the mode of operation for the A/D converter channel pair.
The values are as follows:
SE0_MODE
— single-ended unipolar (0–20 V)
SE1_MODE
— single-ended bipolar (±10 V)
DIFF_MODE
— differential bipolar (±20 V)
mAMP_MODE
— 4–20 mA operation
RETURN VALUE:
0 — success.
BL_SPIBUSY
— SPI port busy.
-EINVAL
— invalid parameter.
SEE ALSO
brdInit, anaInCalib, anaIn, anaInVolts, anaInmAmps, anaInDiff