User`s manual

Software Manual • EKF Intelligent I/O Controller Family On
CompactPCI
- 18 -
EKF Elektronik GmbH * Philipp-Reis-Str. 4 * D-59065 HAMM (Germany)
Tel. +49 (0)2381/6890-0 * Fax. +49 (0)2381/6890-90 * E-Mail info@ekf.de * Internet http://www.ekf.de
SERIAL_AUTO_TRANSMIT:
Use the XON/XOFF protocol based flow control for output. The reception of
the XoffChar will stop data transmission until the XonChar is received (see also
structure SERIAL_CHARS).
SERIAL_AUTO_RECEIVE:
Use the XON/XOFF protocol based flow control for input. The XoffChar is send
by the controller if the receive buffer reaches the programmed high water
mark. If the receive buffer falls below the programmed low water mark, the
XonChar is send. See also description of XonLimit and XoffLimit and of
structure SERIAL_CHARS.
SERIAL_ERROR_CHAR:
If set, the ErrorChar is placed in the stream of received characters on error
conditions like buffer overflow, frame errors and so on. See also description of
structure SERIAL_CHARS.
SERIAL_NULL_STRIPPING:
If set, the reception of a NULL character is ignored.
SERIAL_BREAK_CHAR:
If set, the BreakChar is placed in the stream of received characters when a
break condition was detected. See also description of structure
SERIAL_CHARS.
SERIAL_RTS_HANDSHAKE:
Use the modem signal RTS for input flow control. The RTS line is cleared by
the controller if the receive buffer reaches the programmed high water mark.
See also description of XonLimit and XoffLimit.
XonLimit:
When there are less than XonLimit number of characters in the read buffer the
controller will perform all flow control that the host has enabled so that the sender will
resume sending characters.
XoffLimit:
When there are more characters than (BufferSize - XoffLimit) in the read buffer then
the controller will perform all flow control that the host has enabled so that the sender
will stop sending characters.
SERIALPERF_STATS
A structure that is used to get the current performance statistic counter values of a serial
port.
typedef struct _SERIALPERF_STATS
{
ULONG ReceivedCount;
ULONG TransmittedCount;
ULONG FrameErrorCount;
ULONG SerialOverrunErrorCount;
ULONG BufferOverrunErrorCount;
ULONG ParityErrorCount;
} SERIALPERF_STATS, *PSERIALPERF_STATS;