参数资料
型号: 101-0581
厂商: Rabbit Semiconductor
文件页数: 102/106页
文件大小: 0K
描述: KIT CONNECTION FOR BL2500 SERIES
标准包装: 1
系列: RabbitNet™
附件类型: RabbitNet 连接套件
适用于相关产品: BL2500
其它名称: 101-581
101-581-ND
User’s Manual
89
Locates the first active device that matches the search criteria.
PARAMETER
srch
is the search criteria structure rn_search:
unsigned int flags;
// status flags see MATCH macros below
unsigned int ports;
// port bitmask
char productid;
// product id
char productrev;
// product rev
char coderev;
// code rev
long serialnum;
// serial number
Use a maximum of 3 macros for the search criteria:
RN_MATCH_PORT
// match port bitmask
RN_MATCH_PNA
// match physical node address
RN_MATCH_HANDLE
// match instance (reg 3)
RN_MATCH_PRDID
// match id/version (reg 1)
RN_MATCH_PRDREV
// match product revision
RN_MATCH_CODEREV
// match code revision
RN_MATCH_SN
// match serial number
For example:
rn_search newdev;
newdev.flags = RN_MATCH_PORT|RN_MATCH_SN;
newdev.ports = 0x03; //search ports 0 and 1
newdev.serialnum = E3446C01L;
handle = rn_find(&newdev);
RETURN VALUE
Returns the handle of the first device matching the criteria. 0 indicates no such devices were found.
SEE ALSO
rn_device
The peripheral card sends back the character the master sent. This function will check device information
to determine that the peripheral card is connected to a master.
PARAMETERS
handle
is an address index to device information. Use rn_device() or rn_find() to establish the
handle.
sendecho
is the character to echo back.
recdata
is a pointer to the return address of the character from the device.
RETURN VALUE
The status byte from the previous command. -1 means that device information indicates the peripheral
card is not connected to the master.
int rn_find(rn_search *srch);
int rn_echo(int handle, char sendecho,
char *recdata);
相关PDF资料
PDF描述
SPD127R-153M INDUCTOR PWR SHIELDED 15UH SMD
2-1589476-7 CONN RCPT 37POS 30AWG 36IN
TFL0816-27N INDUCTOR 27NH +/-2% 0603
1025R-86K COIL 560.UH MOLDED UNSHIELDED
PA-SOF-D310-08/6 ADAPTER 8 PIN .310" PLUGS(6PCS)
相关代理商/技术参数
参数描述
10-105812-03P 制造商:Amphenol Aerospace 功能描述:PLUG
10-105812-03S 制造商:Amphenol Aerospace 功能描述:PLUG
10-105812-04P 制造商:Amphenol Aerospace 功能描述:PLUG
10-105812-04S 制造商:Amphenol Aerospace 功能描述:PLUG
10-105812-08P 制造商:Amphenol Aerospace 功能描述:PLUG