Distributor of Digi International: Excellent Integrated System Limited
Datasheet of 20-101-1194 - MODULE RABBITCORE RCM3309 ROHS
Contact us: [email protected] Website: www.integrated-circuit.com
User’s Manual
167
rn_device
int rn_device(char pna);
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
174 / 191
174 / 191