101-1279 Rabbit Semiconductor, 101-1279 Datasheet - Page 54

PLASTIC ENCLOSURE FOR BL4S100

101-1279

Manufacturer Part Number
101-1279
Description
PLASTIC ENCLOSURE FOR BL4S100
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 101-1279

Accessory Type
Enclosure
Product
Prototyping Accessories
Processor Type
BL4S100
Board Size
146 mm x 96 mm x 16 mm
Interface Type
Ethernet
For Use With/related Products
BL4S100
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
316-1159
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 101-1279