User`s manual
18 RabbitCore 2000
3.3 Serial Communication Drivers
The Prototyping Board has room for an RS-232 chip for which the Rabbit serial library,
RSERIAL.LIB, provides users with 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 implemented
For example, serBgetc() is the serial port B function getc(), which returns a charac-
ter.
The Rabbit serial functions are listed in the following groups.
Open and Close Functions
Non-Cofunction Blocking Input Functions
Non-Cofunction Blocking Output Functions
Single-User Cofunction Input Functions
Single-User Cofunction Output Functions
Circular Buffer Functions