101-1268 Rabbit Semiconductor, 101-1268 Datasheet - Page 82

KIT FOR BL4S100 STARTER PACKAGE

101-1268

Manufacturer Part Number
101-1268
Description
KIT FOR BL4S100 STARTER PACKAGE
Manufacturer
Rabbit Semiconductor
Type
Single Board Computers (SBC)r
Datasheet

Specifications of 101-1268

Product
Modules
Processor Type
BL4S100
Sram
512 KB
Timers
8 bit, 10 bit
Number Of I/os
20
Backup Battery
3 V Lithium Coin Type
Operating Voltage
9 V to 36 V
Power Consumption
2 W
Board Size
96 mm x 146 mm x 16 mm
Description/function
Computer Module
For Use With/related Products
BL4S100
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
316-1157
4.4.5 A/D Converter Inputs
FUNCTION DESCRIPTION
PARAMETERS
RETURN VALUE:
SEE ALSO
BL4S100 User’s Manual
void anaInConfig(int channel, int opmode);
brdInit, anaInCalib, anaIn, anaInVolts, anaInmAmps, anaInDiff
Configures an A/D converter input channel for a given mode of operation. This function
must be called before accessing the A/D converter chip.
The channel pairs for the differential mode are listed below.
The modes of operation are as follows:
NOTE: When a pin in a differential pair is reconfigured as a nondifferential pin, the
channel
opmode
0 — success.
-EINVAL
remaining paired pin is also reconfigured.
AIN0 and AIN1
AIN2 and AIN3
AIN4 and AIN5
AIN6 and AIN7
Single-ended unipolar 0–20 V
Differential bipolar ±20 V
4-20 mA operation
— invalid parameter.
analog input channel, 0–7 (AIN0–AIN7)
selects the mode of operation for the A/D converter channel pair.
The values are as follows:
SE0_MODE
DIFF_MODE
mAMP_MODE
anaInConfig
— single-ended unipolar (0–20 V)
— differential bipolar (±20 V)
— 4–20 mA operation
80

Related parts for 101-1268