Status Codes#
Macros#
The receiver is enabled.
The transmitter is enabled.
The receiver is blocked; incoming frames will be discarded.
The transmitter is tristated.
A transmit operation is complete. No more data is available in the transmit buffer and shift register.
The transmit buffer is empty.
Data is available in the receive buffer.
The receive buffer is full.
The transmitter is idle.
The Receiver is idle.
Macro Definition Documentation#
UARTDRV_STATUS_RXEN#
#define UARTDRV_STATUS_RXENValue:
(1 << 0)
The receiver is enabled.
105
of file platform/emdrv/uartdrv/inc/uartdrv.h
UARTDRV_STATUS_TXEN#
#define UARTDRV_STATUS_TXENValue:
(1 << 1)
The transmitter is enabled.
106
of file platform/emdrv/uartdrv/inc/uartdrv.h
UARTDRV_STATUS_RXBLOCK#
#define UARTDRV_STATUS_RXBLOCKValue:
(1 << 3)
The receiver is blocked; incoming frames will be discarded.
107
of file platform/emdrv/uartdrv/inc/uartdrv.h
UARTDRV_STATUS_TXTRI#
#define UARTDRV_STATUS_TXTRIValue:
(1 << 4)
The transmitter is tristated.
108
of file platform/emdrv/uartdrv/inc/uartdrv.h
UARTDRV_STATUS_TXC#
#define UARTDRV_STATUS_TXCValue:
(1 << 5)
A transmit operation is complete. No more data is available in the transmit buffer and shift register.
109
of file platform/emdrv/uartdrv/inc/uartdrv.h
UARTDRV_STATUS_TXBL#
#define UARTDRV_STATUS_TXBLValue:
(1 << 6)
The transmit buffer is empty.
110
of file platform/emdrv/uartdrv/inc/uartdrv.h
UARTDRV_STATUS_RXDATAV#
#define UARTDRV_STATUS_RXDATAVValue:
(1 << 7)
Data is available in the receive buffer.
111
of file platform/emdrv/uartdrv/inc/uartdrv.h
UARTDRV_STATUS_RXFULL#
#define UARTDRV_STATUS_RXFULLValue:
(1 << 8)
The receive buffer is full.
112
of file platform/emdrv/uartdrv/inc/uartdrv.h
UARTDRV_STATUS_TXIDLE#
#define UARTDRV_STATUS_TXIDLEValue:
(1 << 13)
The transmitter is idle.
116
of file platform/emdrv/uartdrv/inc/uartdrv.h
UARTDRV_STATUS_RXIDLE#
#define UARTDRV_STATUS_RXIDLEValue:
(1 << 12)
The Receiver is idle.
118
of file platform/emdrv/uartdrv/inc/uartdrv.h