101-0599 Rabbit Semiconductor, 101-0599 Datasheet - Page 53

no-image

101-0599

Manufacturer Part Number
101-0599
Description
COMPUTER SNGLBD BL2500 512K FLSH
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 101-0599

Module/board Type
Single Board Computer Module
For Use With/related Products
BL2500
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
PARAMETER
RETURN VALUE
SEE ALSO
PARAMETER
RETURN VALUE
EXAMPLE
SEE ALSO
int digIn(int channel);
int digBankIn(int bank);
Reads the state of an input channel (IN00–IN15).
A run-time error will occur for the following conditions:
channel
The logic state of the input (0 or 1).
Reads the state of a block of designated digital input channels. One bank consists of IN0–IN07, and the
other bank consists of IN08–IN15. This call is faster than reading the individual channels, but does not
read the states simultaneously. States are read in succession from IN15–IN08 or from IN07–IN00.
A run-time error will occur for the following conditions:
bank
An input value in the lower byte, where each bit corresponds to one channel. IN00 and IN08 are in the
bit 0 place.
To read inputs 8 to 15:
1.
2.
1.
2.
digOut, digBankIn
int digBankIn(1);
digIn, digBankOut
channel
brdInit
bank
brdInit
User’s Manual
is 0 for the bank of digital inputs IN00–IN07, 1 for the bank of digital inputs IN08–IN15
is the input channel number (0–15)
is out of range.
out of range.
was not executed before executing
was not called first.
digIn
.
47

Related parts for 101-0599