All Manuals > LispWorks User Guide and Reference Manual > 46 The SERIAL-PORT Package

NextPrevUpTopContentsIndex

set-serial-port-state

Function
Summary

Changes various aspects of the state of a serial port.

Package

serial-port

Signature

set-serial-port-state serial-port &key dtr rts break

Arguments

serial-port

A serial-port object.

dtr

A boolean.

rts

A boolean.

break

A boolean.

Description

The function set-serial-port-state changes various aspects of the state of the serial port associated with serial-port.

The argument dtr, if supplied, controls the DTR line. A true value means set and nil means clear. If dtr is not supplied, the state is unchanged.

The argument rts controls the RTS line in the same way.

The argument break controls the break state of the data line in the same way.


LispWorks User Guide and Reference Manual - 13 Feb 2015

NextPrevUpTopContentsIndex