
54
Fox (LP3500)
4.4.4 Serial Communication
Library files included with Dynamic C provide a full range of serial communications sup-
port. The
LIB\Rabbit3000\RS232.LIB
library provides a set of circular-buffer-based
serial functions. The
LIB\Rabbit3000\PACKET.LIB
library provides packet-based serial
functions where packets can be delimited 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 finished. For more information, see the
Dynamic C
User’s Manual
and Rabbit’s Technical Note TN213,
Rabbit 2000 Serial Port Softwar
e
.
Use the following function calls with the LP3500.
User interface to set up LP3500 serial communication lines. Call this function after
serXOpen()
.
Whether you are opening one or multiple serial ports, this function must be executed after executing the last
serXOpen
function AND before you start using any of the serial ports. This function is non-reentrant.
If Mode 1 is selected, CTS/RTS flow control is exercised using the
serBflowcontrolOn
and
serBflowcontrolOff
functions from the
RS232.LIB
library.
PARAMETER
mode
is the defined serial port configuration.
RETURN VALUE
0 if valid mode, 1 if not.
SEE ALSO
ser485Tx, ser485Rx
int serMode(int mode);
Mode
Serial Port
B
C
E
F
0
RS-232, 3-wire
RS-232, 3-wire
RS-232, 3-wire
RS-485
1
RS-232, 5-wire
CTS/RTS
RS-232, 3-wire
RS-485
Summary of Contents for Fox LP3500
Page 1: ...Fox LP3500 C Programmable Single Board Computer User s Manual 019 0111 081121 L...
Page 6: ...Fox LP3500...
Page 14: ...8 Fox LP3500...
Page 22: ...16 Fox LP3500...
Page 44: ...38 Fox LP3500...
Page 90: ...84 Fox LP3500...
Page 108: ...102 Fox LP3500 glFillCircle glPlotPolygon glFillPolygon...
Page 134: ...128 Fox LP3500...
Page 140: ...134 Fox LP3500...
Page 142: ......