For UNIX Users • • Chapter 4
35
int sio_flowctrl(int port, int mode)
return = 0 ok
-1 bad port
-2 time out
port = port number
mode = bit 0 CTS flow control (0/1-off/on)
bit 1 RTS flow control (0/1-off/on)
bit 2 Tx XON/XOFF flow control (0/1-off/on)
bit 3 Rx XON/XOFF flow control (0/1-off/on)
16. Disable transmitting data.
int sio_disableTx(int port)
return = 0 ok
-1 bad port
-2 time out
-5 port is not open
port = port number
17. Enable transmitting data.
int sio_enableTx(int port)
return = 0 ok
-1 bad port
-2 time out
-5 port is not open
port = port number