TwclSerialRtsControl Enumeration

Specifies the RTS (request-to-send) input flow control.

Namespace: wclSerialClients
type
 TwclSerialRtsControl = (
 rtsControlDisable,
 rtsControlEnable,
 rtsControlHandshake,
 rtsControlToggle
 );

The TwclSerialRtsControl type exposes the following members.

Show:
 NameDescription
rtsControlDisable

Lowers the RTS line when the device is opened. The application can use EscapeCommFunction to change the state of the line.

rtsControlEnable

Raises the RTS line when the device is opened. The application can use EscapeCommFunction to change the state of the line.

rtsControlHandshake

Enables RTS flow-control handshaking. The driver raises the RTS line, enabling the DCE to send, when the input buffer has enough room to receive data. The driver lowers the RTS line, preventing the DCE to send, when the input buffer does not have enough room to receive data. If this value is used, it is an error for the application to adjust the line with EscapeCommFunction.

rtsControlToggle

Specifies that the RTS line will be high if bytes are available for transmission. After all buffered bytes have been sent, the RTS line will be low. If this value is set, it would be an error for an application to adjust the line with EscapeCommFunction.

Top