101-0678 Rabbit Semiconductor, 101-0678 Datasheet - Page 44

KIT DEV RABBITCORE/RCM3600

101-0678

Manufacturer Part Number
101-0678
Description
KIT DEV RABBITCORE/RCM3600
Manufacturer
Rabbit Semiconductor
Series
RabbitCore 3000r
Type
MPU Moduler
Datasheet

Specifications of 101-0678

Rohs Status
RoHS non-compliant
Contents
RabbitCore Module, Dev. Board, AC Adapter, Cable and Dynamic C® CD-Rom
Processor To Be Evaluated
RCM3600
For Use With/related Products
RCM3600
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
316-1037
PARAMETERS
38
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 RCM3600 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
*
RabbitCore RCM3600
4–20 mA
AIN0*
AIN1*
AIN2*
AIN7*
Lines
AIN3
AIN4
AIN5
AIN6

Related parts for 101-0678