101-0600 Rabbit Semiconductor, 101-0600 Datasheet - Page 63

no-image

101-0600

Manufacturer Part Number
101-0600
Description
COMPUTER SNGLBD BL2510 512K FLSH
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 101-0600

Module/board Type
Single Board Computer Module
For Use With/related Products
BL2510
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
4.4.7 RabbitNet Port
The function calls described in this section are used to configure the BL2500 for use with
RabbitNet peripheral cards. The user’s manual for the specific peripheral card you are
using contains additional function calls related to the RabbitNet protocol and the individ-
ual peripheral card.
Add the following lines at the start of your program.
Set the following bits in
returned. This does not affect the status byte and still can be interpreted. Set any bit com-
bination to abort:
RETURN VALUE
PARAMETERS
RETURN VALUE
User’s Manual
void rn_sp_info();
void rn_sp_close(int port);
Provides rn_init() with the serial port control information needed for BL2500 series
None.
Deactivates the BL2500 RabbitNet port as a clocked serial port. This call is also used by rn_init().
portnum = 0
None
#define RN_MAX_DEV 10
#define RN_MAX_DATA 16 // max number of data bytes in any transaction
#define RN_MAX_PORT 2
#define RNSTATUSABORT 0x80
bit 7—device busy is hard-coded into driver
bit 5—identifies router or slave
bits 4,3,2—peripheral-board-specific bits
bit 1—command rejected
bit 0—watchdog timeout
// hard-coded driver default to abort if the peripheral card is busy
RNSTATUSABORT
// max number of devices
// max number of serial ports
to abort transmitting data after the status byte is
controllers.
57

Related parts for 101-0600