101-1156 Rabbit Semiconductor, 101-1156 Datasheet - Page 62

no-image

101-1156

Manufacturer Part Number
101-1156
Description
KIT DEVELOPMENT INT'L RCM4200
Manufacturer
Rabbit Semiconductor
Series
RabbitCore 4000r
Type
MPU Moduler
Datasheets

Specifications of 101-1156

Contents
RabbitCore Module, Dev. Board, AC Adapter, Cable and Dynamic C® CD-Rom
Processor To Be Evaluated
Rabbit 4000
Data Bus Width
8 bit
Interface Type
Ethernet
Silicon Manufacturer
Rabbit Semiconductor
Core Architecture
Rabbit 4000
Kit Contents
RCM4200 Module, Prototyping Board, AC Adapter, Cable, Dynamic C CD-ROM, Getting Started Instructions
For Use With/related Products
RCM4200
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
DESCRIPTION
PARAMETERS
56
int anaInDriver(unsigned int cmd);
Reads the voltage of an analog input channel by serial-clocking an 8-bit command to
the A/D converter by its Direct Mode method. This function assumes that Mode1 (most
significant byte first) and the A/D converter oscillator have been enabled. See anaIn-
Config() for the setup.
The conversion begins immediately after the last data bit has been transferred. An ex-
ception error will occur if Direct Mode bit D7 is not set.
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
D7—1; D6–D4—Gain Code; D3–D0—Channel Code
cmd = 0x80 | (gain_code*16) + channel_code
Gain Code
anaInDriver
0
1
2
3
4
5
6
7
Multiplier
Gain
×10
×16
×20
×1
×2
×4
×5
×8
RabbitCore RCM4200
cmd:

Related parts for 101-1156