A combination of these status flags is used by the _ioctl() commands UART_SETSTATUS and UART_GETSTATUS.
Defines | |
#define | UART_FRAMINGERROR |
Framing error. | |
#define | UART_OVERRUNERROR |
Overrun error. | |
#define | UART_PARITYERROR |
Parity error. | |
#define | UART_ERRORS |
UART errors. | |
#define | UART_RXBUFFEREMPTY |
Receiver buffer empty. | |
#define | UART_TXBUFFEREMPTY |
Transmitter buffer empty. | |
#define | UART_RTSENABLED |
RTS handshake output enabled. | |
#define | UART_RTSDISABLED |
RTS handshake output disabled. | |
#define | UART_CTSENABLED |
CTS handshake input enabled. | |
#define | UART_CTSDISABLED |
CTS handshake input disabled. | |
#define | UART_DTRENABLED |
DTR handshake output enabled. | |
#define | UART_DTRDISABLED |
DTR handshake output disabled. | |
#define | UART_RXENABLED |
Receiver enabled. | |
#define | UART_RXDISABLED |
Receiver enabled. | |
#define | UART_TXENABLED |
Transmitter enabled. | |
#define | UART_TXDISABLED |
Transmitter enabled. | |
#define | UART_RXADDRFRAME |
Receive address frames only. | |
#define | UART_RXNORMFRAME |
Receive all frames. | |
#define | UART_TXADDRFRAME |
Transmit as address frame. | |
#define | UART_TXNORMFRAME |
Transmit as normal frame. |
|
UART errors. UART_SETSTATUS will clear all errors. |
|
Framing error. UART_SETSTATUS will clear this error. |
|
Overrun error. UART_SETSTATUS will clear this error. |
|
Parity error. UART_SETSTATUS will clear this error. |
|
Receive address frames only. Used in multidrop communication. May only work if 9 databits have been configured. |
|
Receive all frames. Used in multidrop communication. |
|
Transmit as address frame. Used in multidrop communication. May only work if 9 databits have been configured. |
|
Transmitter buffer empty. UART_SETSTATUS will immediately clear the buffer. It will not wait until the remaining characters have been transmitted. |
|
Transmit as normal frame. Used in multidrop communication. |