Status Codes#

Macros#

#define

The receiver is enabled.

#define

The transmitter is enabled.

#define

The receiver is blocked; incoming frames will be discarded.

#define

The transmitter is tristated.

#define

A transmit operation is complete. No more data is available in the transmit buffer and shift register.

#define

The transmit buffer is empty.

#define

Data is available in the receive buffer.

#define

The receive buffer is full.

#define

The transmitter is idle.

#define

The Receiver is idle.

Macro Definition Documentation#

UARTDRV_STATUS_RXEN#

#define UARTDRV_STATUS_RXEN
Value:
(1 << 0)

The receiver is enabled.


Definition at line 99 of file platform/emdrv/uartdrv/inc/uartdrv.h

UARTDRV_STATUS_TXEN#

#define UARTDRV_STATUS_TXEN
Value:
(1 << 1)

The transmitter is enabled.


Definition at line 100 of file platform/emdrv/uartdrv/inc/uartdrv.h

UARTDRV_STATUS_RXBLOCK#

#define UARTDRV_STATUS_RXBLOCK
Value:
(1 << 3)

The receiver is blocked; incoming frames will be discarded.


Definition at line 101 of file platform/emdrv/uartdrv/inc/uartdrv.h

UARTDRV_STATUS_TXTRI#

#define UARTDRV_STATUS_TXTRI
Value:
(1 << 4)

The transmitter is tristated.


Definition at line 102 of file platform/emdrv/uartdrv/inc/uartdrv.h

UARTDRV_STATUS_TXC#

#define UARTDRV_STATUS_TXC
Value:
(1 << 5)

A transmit operation is complete. No more data is available in the transmit buffer and shift register.


Definition at line 103 of file platform/emdrv/uartdrv/inc/uartdrv.h

UARTDRV_STATUS_TXBL#

#define UARTDRV_STATUS_TXBL
Value:
(1 << 6)

The transmit buffer is empty.


Definition at line 104 of file platform/emdrv/uartdrv/inc/uartdrv.h

UARTDRV_STATUS_RXDATAV#

#define UARTDRV_STATUS_RXDATAV
Value:
(1 << 7)

Data is available in the receive buffer.


Definition at line 105 of file platform/emdrv/uartdrv/inc/uartdrv.h

UARTDRV_STATUS_RXFULL#

#define UARTDRV_STATUS_RXFULL
Value:
(1 << 8)

The receive buffer is full.


Definition at line 106 of file platform/emdrv/uartdrv/inc/uartdrv.h

UARTDRV_STATUS_TXIDLE#

#define UARTDRV_STATUS_TXIDLE
Value:
(1 << 13)

The transmitter is idle.


Definition at line 110 of file platform/emdrv/uartdrv/inc/uartdrv.h

UARTDRV_STATUS_RXIDLE#

#define UARTDRV_STATUS_RXIDLE
Value:
(1 << 12)

The Receiver is idle.


Definition at line 112 of file platform/emdrv/uartdrv/inc/uartdrv.h