101-0581 Rabbit Semiconductor, 101-0581 Datasheet - Page 52

no-image

101-0581

Manufacturer Part Number
101-0581
Description
KIT CONNECTION FOR BL2500 SERIES
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 101-0581

Accessory Type
RabbitNet Connectivity Kit
For Use With/related Products
BL2500
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Other names
101-581
101-581
4.4.2 Digital I/O
PARAMETERS
RETURN VALUE
SEE ALSO
PARAMETERS
RETURN VALUE
EXAMPLE
SEE ALSO
46
void digOut(int channel, int value);
void digBankOut(int bank, int value);
Sets the state of digital outputs OUT0–OUT7, whereOUT0–OUT7 are sinking outputs.
A run-time error will occur for the following conditions:
channel
value is the output value (0 or 1)
None.
Writes the state of a block of designated digital output channels. The bank consists of OUT0–OUT7.
This call is faster than setting the individual channels, but does not output states simultaneously. States
are written in succession from OUT7–OUT0.
A run-time error will occur for the following conditions:
bank
value is an 8-bit output value, where each bit corresponds to one channel. OUT0 is the least significant
bit 0
None.
To send out odd channels high:
1.
2.
1.
2.
digIn, digBankOut
void digBankOut(0, 0xaa);
digOut, digBankIn
channel
brdInit
bank
brdInit
is 0 for the bank of digital output channels (0–7)
is the digital output channels (0–7)
or value is out of range.
or value is out of range.
was not called first.
was not called first.
Coyote (BL2500)

Related parts for 101-0581