48
eDisplay (OP7200)
4.4.4 Serial Communication
Library files included with Dynamic C provide a full range of serial communications sup-
port. The
RS232.LIB
library provides a set of circular-buffer-based serial functions. The
PACKET.LIB
library provides packet-based serial functions where packets can be delim-
ited 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 transmit-
ting or receiving, and nonblocking functions, which must be called repeatedly until they
are finished. For more information, see the Dynamic C Premier Function Reference
Manual and Technical Note 213, Rabbit 2000 Serial Port Software.
Use the following function calls with the OP7200.
User interface to set up OP7200 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
serCflowcontrolOn
and
serCflowcontrolOff
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
D
0
RS-485
RS-232, 3-wire
RS-232, 3-wire
1
RS-485
RS-232, 5-wire
CTS/RTS
Содержание eDisplay OP7200
Страница 1: ...eDisplay OP7200 VGA Operator Control Panel User s Manual 019 0116 021001 A ...
Страница 6: ...eDisplay OP7200 ...
Страница 44: ...38 eDisplay OP7200 ...
Страница 117: ...User s Manual 111 APPENDIX A SPECIFICATIONS Appendix A provides the specifications for the OP7200 ...
Страница 128: ...122 eDisplay OP7200 ...
Страница 136: ...130 eDisplay OP7200 ...
Страница 144: ...138 eDisplay OP7200 ...
Страница 146: ...140 eDisplay OP7200 ...
Страница 150: ...144 eDisplay OP7200 ...
Страница 152: ......