Download 82091 SICL Users Guide

Transcript
SICL Language Reference
ISERIALCTRL
I_SERIAL_WIDTH
The following are acceptable values for
setting:
I_SERIAL_CHAR_5 - 5 bit characters
I_SERIAL_CHAR_6 - 6 bit characters
I_SERIAL_CHAR_7 - 7 bit characters
I_SERIAL_CHAR_8 - 8 bit characters
I_SERIAL_READ_BUFSZ
I_SERIAL_DUPLEX
This is used to set the size of the read buffer.
The setting parameter is used as the size of
buffer to use. This value must be in the range
of 1 and 32767.
The following are acceptable values for
setting:
I_SERIAL_DUPLEX_FULL - Use full duplex
I_SERIAL_DUPLEX_HALF - Use half duplex
I_SERIAL_FLOW_CTRL
The setting parameter must be set to one of
the following values. If no flow control is to be
used, set setting to zero (0). The following are
the supported types of flow control:
I_SERIAL_FLOW_NONE - No handshaking
I_SERIAL_FLOW_XON - Software handshake
I_SERIAL_FLOW_RTS_CTS - Hardware
handshake
I_SERIAL_FLOW_DTR_DSR - Hardware
handshake
I_SERIAL_READ_EOI
Used to set the type of END Indicator to use
for reads.
In order for iscanf to work as specified, data
must be terminated with an END indicator.
The RS-232 interface has no standard way of
doing this. SICL gives you two different
methods of indicating EOI.
Chapter 10
331