101-1055 Rabbit Semiconductor, 101-1055 Datasheet - Page 153

no-image

101-1055

Manufacturer Part Number
101-1055
Description
MODULE RABBIT CORE RCM3375
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 101-1055

Module/board Type
MPU Core Module
For Use With/related Products
RCM3375
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
PARAMETER
RETURN VALUE
SEE ALSO
PARAMETERS
RETURN VALUE
User’s Manual
int rn_find(rn_search *srch);
int rn_echo(int handle, char sendecho,
Locates the first active device that matches the search criteria.
srch is the search criteria structure rn_search:
Use a maximum of 3 macros for the search criteria:
For example:
Returns the handle of the first device matching the criteria. 0 indicates no such devices were found.
The peripheral card sends back the character the master sent.
to determine that the peripheral card is connected to a master.
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.
The status byte from the previous command. -1 means that device information indicates the peripheral
card is not connected to the master.
char *recdata);
unsigned int flags;
unsigned int ports;
char productid;
char productrev;
char coderev;
long serialnum;
RN_MATCH_PORT
RN_MATCH_PNA
RN_MATCH_HANDLE
RN_MATCH_PRDID
RN_MATCH_PRDREV
RN_MATCH_CODEREV
RN_MATCH_SN
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);
rn_device
// match port bitmask
// match physical node address
// match instance (reg 3)
// match id/version (reg 1)
// match product revision
// match code revision
// match serial number
// status flags see MATCH macros below
// port bitmask
// product id
// product rev
// code rev
// serial number
This function will
check device information
147

Related parts for 101-1055