101-0506 Rabbit Semiconductor, 101-0506 Datasheet - Page 81

no-image

101-0506

Manufacturer Part Number
101-0506
Description
CARD CPU SR9160 128K SRAM SMRTST
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 101-0506

Accessory Type
Smart Star CPU Card
For Use With/related Products
SR9160
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
PARAMETERS
RETURN VALUE
SEE ALSO
PARAMETER
RETURN VALUE
SEE ALSO
User’s Manual
void digOut(int channel, int value);
int digBankOut(int bank, int value);
Writes a value to an output channel (OUT0–OUT15, OUT8–IN15 not available on all versions of the
Digital I/O Card).
channel
or
where
value
None.
Writes a byte value to Bank 1 or Bank 2 (if installed) digital output channels—Bank 1 consists of OUT0–
OUT7 and Bank 2 consists of OUT8–OUT15.
bank
or
where
value
An input value in the lower byte, where each bit corresponds to one channel.
channel = (slotnumber * 128) + (channelnumber)
channel = ChanAddr(slotnumber, channelnumber)
digBankOut
bank = (slotnumber * 16) + (banknumber)
bank = BankAddr(slotnumber, banknumber)
digOut, digIn, digBankIn
slotnumber
slotnumber
is the bank of digital output channels to write.
is the output value, 0 or 1.
is the output value, where each bit corresponds to one channel.
is the digital output channel to write.
,
digIn
is 0–6, and
is 0–6, and
, digBankIn
channelnumber
banknumber
channel
is 1 or 2.
bank
is 0–15.
should be passed as
should be passed as
81

Related parts for 101-0506