Serial Communication Drivers; Tcp/Ip Drivers; Serial Flash Drivers - Rabbit RabbitCore RCM3305 User Manual

C-programmable core module with serial flash mass storage and ethernet
Table of Contents

Advertisement

5.2.3 Serial Communication Drivers

Library files included with Dynamic C provide a full range of serial communications sup-
port. The
library provides a set of circular-buffer-based serial functions. The
RS232.LIB
library provides packet-based serial functions where packets can be delimited
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.4 TCP/IP Drivers

The TCP/IP drivers are located in the
folder. Complete information on these
LIB\TCPIP
libraries and the TCP/IP functions is provided in the Dynamic C TCP/IP User's Manual.

5.2.5 Serial Flash Drivers

The Dynamic C
library is used to interface to serial flash
SerialFlash\SFLASH.LIB
memory devices on an SPI bus such as the serial flash on board the RCM3305 and the
RCM3315, which use Serial Port B as an SPI port. The library has two sets of function
calls—the first is maintained for compatibility with previous versions of the
SFLASH.LIB
library. The functions are all blocking and only work for single flash devices. The new
functions, which should be used for the RCM3305/RCM3315, make use of an
structure as a handle for a specific serial flash device. This allows multiple
sf_device
devices to be used by an application.
More information on these function calls is available in the Dynamic C Function Refer-
ence Manual.
User's Manual
41

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rabbitcore rcm3315Rabbitcore rcm3309

Table of Contents