20-101-1256 Rabbit Semiconductor, 20-101-1256 Datasheet - Page 94

COMPUTER SINGLE-BOARD BL4S110

20-101-1256

Manufacturer Part Number
20-101-1256
Description
COMPUTER SINGLE-BOARD BL4S110
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 20-101-1256

Module/board Type
Single Board Computer Module
Product
Modules
Processor Type
Rabbit 4000
Sram
512 KB
Flash
1 MB
Timers
8 bit, 10 bit
Number Of I/os
20
Backup Battery
3 V Lithium Coin Type
Operating Voltage
9 V to 36 V
Board Size
96 mm x 146 mm x 16 mm
Description/function
Computer Module
For Use With/related Products
BL4S110
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
316-1169
FUNCTION DESCRIPTION
PARAMETER
BL4S100 User’s Manual
int anaInDriver(char cmd);
Low-level driver to read the ADS7870 A/D converter chip. Reads the voltage of an an-
alog input channel by serial clocking an 8-bit command to the ADS7870 by its Direct
Mode method.
assumes that Mode2 (least significant byte first) and the A/D converter oscillator have
been enabled.
See anaInConfig() for additional setup information.
After the last data bit is transferred, the conversion begins immediately. An exception
error will occur if Direct Mode bit D7 is not set.
cmd
anaInConfig()
The
MSB is set high for direct-mode access. The format is as follows:
Use the following calculation and tables to determine
cmd = 0x80 | (gain_code<<4) + channel_code
cmd
gain_code
parameter contains a gain code and channel code, and the
anaInDriver
D7
1
0
1
2
3
4
5
6
7
uses the Register Mode method. This function call
gain_code
D6–D4
Multiplier
10
16
20
1
2
4
5
8
channel_code
D3–D0
cmd
:
92

Related parts for 20-101-1256