Nut/OS  4.10.3
API Reference
XgACEHS

ACE handshake modes. More...

Collaboration diagram for XgACEHS:

Defines

#define ACE_HS_RTSCTS   0x0003
 RTS / CTS hardware handshake.
#define ACE_HS_MODEM   0x001F
 Full modem hardware handshake.
#define ACE_HS_SOFT   0x0020
 XON / XOFF software handshake.

Detailed Description

ACE handshake modes.

Any of these values may be used by the _ioctl() commands ACE_SETFLOWCONTROL and ACE_GETFLOWCONTROL.


Define Documentation

#define ACE_HS_RTSCTS   0x0003

RTS / CTS hardware handshake.

Nut/OS uses DTE definitions, where RTS is output and CTS is input.

Definition at line 419 of file ace.h.

#define ACE_HS_MODEM   0x001F

Full modem hardware handshake.

Not supported yet by the standard drivers.

Definition at line 425 of file ace.h.

#define ACE_HS_SOFT   0x0020

XON / XOFF software handshake.

It is recommended to set a proper read timeout with software handshake. In this case a timeout may occur, if the communication peer lost our last XON character. The application may then use ioctl() to disable the receiver and do the read again. This will send out another XON.

Definition at line 434 of file ace.h.