AMOSi:Serial Status

From Amiga Coding
Jump to: navigation, search

an example can be found on AMOSPro_Examples:Examples/H-4/Help_47.AMOS


Provides you with detailed information about the current state of the serial port.


s=Serial Status(channel)

s is a bit-map holding the state of fifteen different parameters.


If the bit is set to the value under "active", the associated event has been successfully detected.


BitActiveFunction
0-1-reserved
21Parallel "select" on the A1000
30DSR (Data Set Ready)
40CTS (Clear To Send)
50Carrier Detect
60RTS (Ready To Send)
70DTR (Data Terminal Ready)
81hardware overrun
91break sent (most recent output)
101break received (as latest input)
111transmit x-OFF
121receive x-OFF
13-15-reserved