Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages | Examples

UART Status
[UART I/O Control Functions]


Detailed Description

UART device status flags,.

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.


Define Documentation

#define UART_ERRORS
 

UART errors.

UART_SETSTATUS will clear all errors.

#define UART_FRAMINGERROR
 

Framing error.

UART_SETSTATUS will clear this error.

#define UART_OVERRUNERROR
 

Overrun error.

UART_SETSTATUS will clear this error.

#define UART_PARITYERROR
 

Parity error.

UART_SETSTATUS will clear this error.

#define UART_RXADDRFRAME
 

Receive address frames only.

Used in multidrop communication. May only work if 9 databits have been configured.

#define UART_RXNORMFRAME
 

Receive all frames.

Used in multidrop communication.

#define UART_TXADDRFRAME
 

Transmit as address frame.

Used in multidrop communication. May only work if 9 databits have been configured.

#define UART_TXBUFFEREMPTY
 

Transmitter buffer empty.

UART_SETSTATUS will immediately clear the buffer. It will not wait until the remaining characters have been transmitted.

#define UART_TXNORMFRAME
 

Transmit as normal frame.

Used in multidrop communication.


© 2000-2003 by egnite Software GmbH - visit http://www.ethernut.de/