101-0463 Rabbit Semiconductor, 101-0463 Datasheet - Page 51

no-image

101-0463

Manufacturer Part Number
101-0463
Description
COMPUTER SINGLE BOARD BL2120
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 101-0463

Module/board Type
Single Board Computer Module
For Use With/related Products
BL2120
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
4.4.3 Serial Communication
Library files included with Dynamic C provide a full range of serial communications sup-
port. The
PACKET.LIB
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 User’s Manual and Technical
Note 213, Rabbit Serial Port Software.
Use the following function calls with the BL2100.
PARAMETER
RETURN VALUE
SEE ALSO
SEE ALSO
SEE ALSO
User’s Manual
int serMode(int mode);
void ser485Tx(void);
void ser485Rx(void);
User interface to set up BL2100 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.
mode is the defined serial port configuration.
0 if valid mode, 1 if not.
Sets pin 3 (DE) high to enable the RS-485 transmitter.
Resets pin 3 (DE) low to disable the RS-485 transmitter.
ser485Tx, ser485Rx
serMode, ser485Rx
serMode, ser485Tx,
Mode
RS232.LIB
0
1
library provides packet-based serial functions where packets can be delim-
RS-232, 3-wire
RS-232, 5-wire
library provides a set of circular-buffer-based serial functions. The
serCflowcontrolOn, serCflowcontrolOff
B
RS-232, 3-wire
CTS/RTS
Serial Port
C
RS-485
RS-485
D
45

Related parts for 101-0463