Module interface:output - Output device interface
Output device interface. The CT.OUTPUT channel-type provides a generic method for interacting with output devices, such as terminals and serial-ports.
Index
-
Channel type
CT.OUTPUT- Generic output channel-type-
Variable
data.in?- ASCII output -
Variable
in?- Commands and device-dependent data -
Variable
out!- Responses to commands -
Variable
return?- Used to close connection to output device (returns client-end)
-
Variable
-
Protocol
P.OUTPUT.IN- Output device input protocol-
Tag
ioctl- IO control -
Tag
special- Special output (device dependent)
-
Tag
-
Protocol
P.OUTPUT.OUT- Output device output protocol-
Tag
result- Responses (for IO control)
-
Tag
Declarations
output_if.inc:34Protocol P.OUTPUT.IN
PROTOCOL P.OUTPUT.IN
Output device input protocol.
output_if.inc:38Tag special
special; INT
Special output (device dependent).
Parameters:
INT |
value |
Value to output. |
output_if.inc:41Tag ioctl
ioctl; INT; INT
IO control.
Parameters:
INT |
ictl, ival
|
IOCTL command and value (gives response). |
output_if.inc:45Protocol P.OUTPUT.OUT
PROTOCOL P.OUTPUT.OUT
Output device output protocol.
output_if.inc:49Tag result
result; INT
Responses (for IO control).
Parameters:
INT |
val |
Return value or error. |
output_if.inc:53Channel type CT.OUTPUT
RECURSIVE CHAN TYPE CT.OUTPUT
Generic output channel-type.
output_if.inc:56Variable in?
CHAN P.OUTPUT.IN
Commands and device-dependent data.
output_if.inc:58Variable data.in?
CHAN BYTE
ASCII output.
output_if.inc:60Variable out!
CHAN P.OUTPUT.OUT
Responses to commands.
output_if.inc:62Variable return?
CHAN CT.OUTPUT!
Used to close connection to output device (returns client-end).