Dynamic C Functions; Digital I/O; Serial Communication Drivers; Tcp/Ip Drivers - Rabbit RCM3000 User Manual

C-programmable module with ethernet
Hide thumbs Also See for RCM3000:
Table of Contents

Advertisement

5.2 Dynamic C Functions

5.2.1 Digital I/O

The RCM3000 was designed to interface with other systems, and so there are no drivers
written specifically for the I/O. The general Dynamic C read and write functions allow
you to customize the parallel I/O to meet your specific needs. For example, use
to set all the Port E bits as inputs, or use
to set all the Port E bits as outputs.
When using the auxiliary I/O bus on the Rabbit 3000 chip, add the line
to the beginning of any programs using the auxiliary I/O bus.
The sample programs in the Dynamic C
examples.

5.2.2 Serial Communication Drivers

Library files included with Dynamic C provide a full range of serial communications sup-
port. The
PACKET.LIB
by the 9th bit, by transmission gaps, or with user-defined special characters. Both libraries
provide blocking functions, which do not return until they are finished transmitting or
receiving, and nonblocking functions, which must be called repeatedly until they are fin-
ished, allowing other functions to be performed between calls. For more information, see
the Dynamic C Function Reference Manual and Technical Note TN213, Rabbit Serial
Port Software.

5.2.3 TCP/IP Drivers

The TCP/IP drivers are located in the
libraries and the TCP/IP functions is provided in the Dynamic C TCP/IP User's Manual.
User's Manual
Downloaded from
Elcodis.com
electronic components distributor
WrPortI(PEDDR, &PEDDRShadow, 0x00);
WrPortI(PEDDR, &PEDDRShadow, 0xFF);
#define PORTA_AUX_IO
library provides a set of circular-buffer-based serial functions. The
RS232.LIB
library provides packet-based serial functions where packets can be delimited
// required to enable auxiliary I/O bus
SAMPLES/RCM3000
folder. Complete information on these
LIB\TCPIP
folder provide further
31

Advertisement

Table of Contents
loading

Table of Contents