UART device status flags,.
More...
Detailed Description
UART device status flags,.
A combination of these status flags is used by the _ioctl() commands UART_SETSTATUS and UART_GETSTATUS.
Define Documentation
#define UART_FRAMINGERROR 0x00000001UL |
#define UART_OVERRUNERROR 0x00000002UL |
#define UART_PARITYERROR 0x00000004UL |
#define UART_ERRORS (UART_FRAMINGERROR | UART_OVERRUNERROR | UART_PARITYERROR) |
#define UART_RXBUFFEREMPTY 0x00000040UL |
#define UART_TXBUFFEREMPTY 0x00000080UL |
Transmitter buffer empty.
UART_SETSTATUS will immediately clear the buffer. It will not wait until the remaining characters have been transmitted.
Definition at line 440 of file uart.h.
Referenced by UsartIOCtl().
#define UART_RTSENABLED 0x00000100UL |
RTS handshake output enabled.
Definition at line 444 of file uart.h.
#define UART_RTSDISABLED 0x00000200UL |
#define UART_CTSENABLED 0x00000400UL |
CTS handshake input enabled.
Definition at line 452 of file uart.h.
#define UART_CTSDISABLED 0x00000800UL |
CTS handshake input disabled.
Definition at line 456 of file uart.h.
#define UART_DTRENABLED 0x00001000UL |
DTR handshake output enabled.
Definition at line 460 of file uart.h.
#define UART_DTRDISABLED 0x00002000UL |
DTR handshake output disabled.
Definition at line 464 of file uart.h.
#define UART_RXENABLED 0x00010000UL |
Receiver enabled.
Definition at line 468 of file uart.h.
#define UART_RXDISABLED 0x00020000UL |
Receiver enabled.
Definition at line 472 of file uart.h.
#define UART_TXENABLED 0x00040000UL |
Transmitter enabled.
Definition at line 476 of file uart.h.
#define UART_TXDISABLED 0x00080000UL |
Transmitter enabled.
Definition at line 480 of file uart.h.
#define UART_RXADDRFRAME 0x00100000UL |
Receive address frames only.
Used in multidrop communication. May only work if 9 databits have been configured.
Definition at line 487 of file uart.h.
#define UART_RXNORMFRAME 0x00200000UL |
Receive all frames.
Used in multidrop communication.
Definition at line 493 of file uart.h.
#define UART_TXADDRFRAME 0x00400000UL |
Transmit as address frame.
Used in multidrop communication. May only work if 9 databits have been configured.
Definition at line 500 of file uart.h.
#define UART_TXNORMFRAME 0x00800000UL |
Transmit as normal frame.
Used in multidrop communication.
Definition at line 506 of file uart.h.