Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages | Examples
XgUARTHS
[UART I/O Control Functions]
Collaboration diagram for XgUARTHS:
|
Detailed Description
UART handshake modes.Any of these values may be used by the _ioctl() commands UART_SETFLOWCONTROL and UART_GETFLOWCONTROL.
Defines | |
| #define | UART_HS_RTSCTS |
| RTS / CTS hardware handshake. | |
| #define | UART_HS_MODEM |
| Full modem hardware handshake. | |
| #define | UART_HS_SOFT |
| XON / XOFF software handshake. | |
Define Documentation
|
|
Full modem hardware handshake. Not supported yet by the standard drivers. |
|
|
RTS / CTS hardware handshake. Nut/OS uses DTE definitions, where RTS is output and CTS is input. |
|
|
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. |