User’s Manual
Software Reference
3–3
3.2
Dynamic C Libraries
With Dynamic C running, click
File > Open
, and
select
Lib
. The following list of Dynamic C librar-
ies will be displayed.
There is no unique library that is specific to the Rab-
bitCore RCM2200. The functions in the above
libraries are described in the Dynamic C Premier
User’s Manual.
3.2.1 I/O
The RabbitCore RCM2200 was designed to inter-
face 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
WrPortI(PEDDR, &PEDDRShadow,
0x00);
to set all the port E bits as inputs, or use
WrPortI(PEDDR, &PEDDRShadow,
0xFF);
to set all the port E bits as outputs.
The sample programs in the Dynamic C
SAM-
PLES/RCM2200
directory provide further exam-
ples.
3.2.2 Serial Communication Drivers
The Prototyping Board has room for an RS-232 chip
for which the Rabbit serial library,
RS232.LIB
,
provides a set of functions that send and receive
entire blocks of data without yielding to other tasks,
a set of single-user cofunctions that send and receive
data but yield to other tasks, and a set of circular
buffer functions.
The naming convention is
serXfn
:
ser—serial
X—the port being used: A, B,
C, or D
fn - the function being imple-
mented
For example,
serBgetc()
is the serial port B
function
getc()
, which returns a character.
The Rabbit serial functions are listed in the follow-
ing groups.
Open and Close Functions
Non-Cofunction Blocking
Input Functions
Non-Cofunction Blocking Out-
put Functions
Single-User Cofunction Input
Functions
Single-User Cofunction Output
Functions
Circular Buffer Functions
Summary of Contents for RCM2200
Page 1: ...RabbitCore RCM2200 C Programmable Module with Ethernet User s Manual 019 0097 010418 A...
Page 6: ...vi RabbitCore RCM2200...
Page 10: ...1 4 Introduction RabbitCore RCM2200...
Page 20: ...2 10 Hardware Reference RabbitCore RCM2200...
Page 26: ...3 6 Software Reference RabbitCore RCM2200...
Page 36: ...A 10 RabbitCore RCM2200 Specifications RabbitCore RCM2200...
Page 42: ...C 4 Programming Cable RabbitCore RCM2200...
Page 48: ...D 6 Sample Circuits RabbitCore RCM2200...
Page 50: ......
Page 52: ...E 4 External Interrupts RabbitCore RCM2200...
Page 57: ...C NONE...
Page 60: ......