20-101-1258 Rabbit Semiconductor, 20-101-1258 Datasheet - Page 54

COMPUTER SINGLE-BOARD BL4S160

20-101-1258

Manufacturer Part Number
20-101-1258
Description
COMPUTER SINGLE-BOARD BL4S160
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 20-101-1258

Module/board Type
Single Board Computer Module
Product
Modules
Processor Type
Rabbit 4000
Sram
1 MB
Flash
2 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
BL4S160
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
316-1171
FUNCTION DESCRIPTION
PARAMETERS
RETURN VALUE
SEE ALSO
BL4S100 User’s Manual
int setDecoder(int channel_a, int channel_b, int channel_index,
char index_polarity);
brdInit, getCounter, resetCounter
Sets up Quadrature Decoder functionality on the specified channels. The Quadrature
Decoder may optionally use an index channel.
channel_a
channel_b
channel_index channel to use as index input (-1 if not used),
NOTE: The Quadrature Decoder count may still be reset by existing or new synch signals
index_polarity polarity of the index channel
0 — success.
-EINVAL
-EACCESS
set up on the same block of a particular RIO chip.
— invalid parameter value.
— resource needed by this function is not available.
channel to use as Input A (also known as in-phase or I),
0–11 (pins IN0–IN11)
channel to use as Input B (also known as quadrature or Q),
0–11 (pins IN0–IN11)
0–11 (pins IN0–IN11)
(not used when channel_index set to -1)
0 — index on low level
non-zero — index on high level
setDecoder
52

Related parts for 20-101-1258