20-101-1094 Rabbit Semiconductor, 20-101-1094 Datasheet - Page 59

MCU RCM4000 RABBITCORE

20-101-1094

Manufacturer Part Number
20-101-1094
Description
MCU RCM4000 RABBITCORE
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 20-101-1094

Module/board Type
MPU Core Module
Product
Microcontroller Modules
Core Processor
Rabbit 4000
Clock Speed
58.98 MHz
Interface Type
Ethernet, Serial
Flash
512 KB
Timers
10 x 8 bit, 1 x 10 bit, 1 x 16 bit
Operating Supply Voltage
3 V to 3.6 V
Board Size
47 mm x 61 mm x 20 mm
Core
RCM4000
Processor Series
RCM4000
Cpu Core
Rabbit 4000
For Use With/related Products
RCM4000
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
316-1139
DESCRIPTION
PARAMETERS
User’s Manual
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.
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
cmd:
53

Related parts for 20-101-1094