20-101-1028 Rabbit Semiconductor, 20-101-1028 Datasheet - Page 47

MODULE RABBITCORE RCM3750

20-101-1028

Manufacturer Part Number
20-101-1028
Description
MODULE RABBITCORE RCM3750
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 20-101-1028

Module/board Type
MPU Core Module
Product
Microcontroller Modules
Core Processor
Rabbit 3000
Flash
512 KBytes
Operating Supply Voltage
4.75 to 5.25 V
Board Size
75 mm x 30 mm x 23 mm
For Use With/related Products
RCM3750
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
316-1110
PARAMETERS
RETURN VALUE
User’s Manual
unsigned int anaInDriver(unsigned int cmd,
Reads the voltage of an analog input channel by serial-clocking an 8-bit command to the ADS7870 A/D
converter by the Direct Mode method. This function assumes that Mode1 (most significant byte first) and
the A/D converter oscillator have been enabled. See anaInConfig() for the setup.
The conversion begins immediately after the last data bit has been transferred. An exception error will
occur if Direct Mode bit D7 is not set.
cmd contains a gain code and a channel code as follows.
Use the following calculation and the tables below to determine cmd:
len, the output bit length, is always 12 for 11-bit conversions
Channel Code
unsigned int len);
D7—1; D6–D4—Gain Code; D3–D0—Channel Code
cmd = 0x80 | (gain_code*16) + channel_code
* Negative input is ground.
† Not accessible on RCM3700 Prototyping Board
7*
3
0
1
2
4
5
6
Differential Input
+AIN0 -AIN1
+AIN2 -AIN3
+AIN4 -AIN5
+AIN6 -AIN7
-AIN0 +AIN1
-AIN2 +AIN3
-AIN4 +AIN5
-AIN6 +AIN7
Lines
Gain Code
0
1
2
3
4
5
6
7
Channel Code
10
11
12
13
14
15
Multiplier
8
9
x10
x16
x20
x1
x2
x4
x5
x8
Single-Ended
Input Lines
AIN0
AIN1
AIN2
AIN3
AIN4
AIN5
AIN6
AIN7
*
4–20 mA
AIN0*
AIN1*
AIN2*
AIN7*
Lines
AIN3
AIN4
AIN5
AIN6
41

Related parts for 20-101-1028