BL4S200 User’s Manual
122
anaInDriver (continued)
The BL4S200 boards were designed to extend the A/D converter input circuit configu-
rations, which is done by the
anaInConfig()
function call. The following table maps
the BL4S200 A/D converter configurations to the A/D converter
channel_code
listed
above:
RETURN VALUE
A value corresponding to the voltage on the analog input channel, which will be either
in the range [-20480,2047], or an error code of
BL_ERRCODESTART
or less as follows:
BL_SPIBUSY
BL_TIMEOUT
BL_OVERFLOW
BL4S200 A/D Converter Input
channel_code
Differential
0–4
Single-Ended Unipolar
8–15
Single-Ended Bipolar
8–15
4–20 mA
8–11
electronic components distributor