BL4S200 User’s Manual
194
rn_device
int rn_device(char pna);
FUNCTION DESCRIPTION
Returns an address index to device information from a given physical node address.
This
function will
check device information to determine that the peripheral card is connected
to a master.
PARAMETER
pna
the physical node address, indicated as a byte.
7,6—2-bit binary representation of the port number on the master
5,4,3—Level 1 router downstream port
2,1,0—Level 2 router downstream port
RETURN VALUE
Pointer to device information. -1 indicates that the peripheral card either cannot be
identified or is not connected to the master.
SEE ALSO
rn_find
electronic components distributor