Description

Macros

#define ECODE_EMDRV_UARTDRV_OK ( ECODE_OK )
A successful return value.
#define ECODE_EMDRV_UARTDRV_WAITING ( ECODE_EMDRV_UARTDRV_BASE | 0x00000001)
An operation is waiting in queue.
#define ECODE_EMDRV_UARTDRV_ILLEGAL_HANDLE ( ECODE_EMDRV_UARTDRV_BASE | 0x00000002)
An illegal UART handle.
#define ECODE_EMDRV_UARTDRV_PARAM_ERROR ( ECODE_EMDRV_UARTDRV_BASE | 0x00000003)
An illegal input parameter.
#define ECODE_EMDRV_UARTDRV_BUSY ( ECODE_EMDRV_UARTDRV_BASE | 0x00000004)
The UART port is busy.
#define ECODE_EMDRV_UARTDRV_ILLEGAL_OPERATION ( ECODE_EMDRV_UARTDRV_BASE | 0x00000005)
An illegal operation on the UART port.
#define ECODE_EMDRV_UARTDRV_IDLE ( ECODE_EMDRV_UARTDRV_BASE | 0x00000008)
No UART transfer is in progress.
#define ECODE_EMDRV_UARTDRV_ABORTED ( ECODE_EMDRV_UARTDRV_BASE | 0x00000009)
A UART transfer has been aborted.
#define ECODE_EMDRV_UARTDRV_QUEUE_FULL ( ECODE_EMDRV_UARTDRV_BASE | 0x0000000A)
A UART operation queue is full.
#define ECODE_EMDRV_UARTDRV_QUEUE_EMPTY ( ECODE_EMDRV_UARTDRV_BASE | 0x0000000B)
A UART operation queue is empty.
#define ECODE_EMDRV_UARTDRV_PARITY_ERROR ( ECODE_EMDRV_UARTDRV_BASE | 0x0000000C)
A UART parity error frame. Data is ignored.
#define ECODE_EMDRV_UARTDRV_FRAME_ERROR ( ECODE_EMDRV_UARTDRV_BASE | 0x0000000D)
A UART frame error. Data is ignored.
#define ECODE_EMDRV_UARTDRV_DMA_ALLOC_ERROR ( ECODE_EMDRV_UARTDRV_BASE | 0x0000000E)
Unable to allocate DMA channels.
#define ECODE_EMDRV_UARTDRV_CLOCK_ERROR ( ECODE_EMDRV_UARTDRV_BASE | 0x0000000F)
Unable to set a desired baudrate.

Macro Definition Documentation

ECODE_EMDRV_UARTDRV_OK

#define ECODE_EMDRV_UARTDRV_OK   ( ECODE_OK )

A successful return value.

ECODE_EMDRV_UARTDRV_WAITING

#define ECODE_EMDRV_UARTDRV_WAITING   ( ECODE_EMDRV_UARTDRV_BASE | 0x00000001)

An operation is waiting in queue.

ECODE_EMDRV_UARTDRV_ILLEGAL_HANDLE

#define ECODE_EMDRV_UARTDRV_ILLEGAL_HANDLE   ( ECODE_EMDRV_UARTDRV_BASE | 0x00000002)

An illegal UART handle.

ECODE_EMDRV_UARTDRV_PARAM_ERROR

#define ECODE_EMDRV_UARTDRV_PARAM_ERROR   ( ECODE_EMDRV_UARTDRV_BASE | 0x00000003)

An illegal input parameter.

ECODE_EMDRV_UARTDRV_BUSY

#define ECODE_EMDRV_UARTDRV_BUSY   ( ECODE_EMDRV_UARTDRV_BASE | 0x00000004)

The UART port is busy.

ECODE_EMDRV_UARTDRV_ILLEGAL_OPERATION

#define ECODE_EMDRV_UARTDRV_ILLEGAL_OPERATION   ( ECODE_EMDRV_UARTDRV_BASE | 0x00000005)

An illegal operation on the UART port.

ECODE_EMDRV_UARTDRV_IDLE

#define ECODE_EMDRV_UARTDRV_IDLE   ( ECODE_EMDRV_UARTDRV_BASE | 0x00000008)

No UART transfer is in progress.

ECODE_EMDRV_UARTDRV_ABORTED

#define ECODE_EMDRV_UARTDRV_ABORTED   ( ECODE_EMDRV_UARTDRV_BASE | 0x00000009)

A UART transfer has been aborted.

ECODE_EMDRV_UARTDRV_QUEUE_FULL

#define ECODE_EMDRV_UARTDRV_QUEUE_FULL   ( ECODE_EMDRV_UARTDRV_BASE | 0x0000000A)

A UART operation queue is full.

ECODE_EMDRV_UARTDRV_QUEUE_EMPTY

#define ECODE_EMDRV_UARTDRV_QUEUE_EMPTY   ( ECODE_EMDRV_UARTDRV_BASE | 0x0000000B)

A UART operation queue is empty.

ECODE_EMDRV_UARTDRV_PARITY_ERROR

#define ECODE_EMDRV_UARTDRV_PARITY_ERROR   ( ECODE_EMDRV_UARTDRV_BASE | 0x0000000C)

A UART parity error frame. Data is ignored.

ECODE_EMDRV_UARTDRV_FRAME_ERROR

#define ECODE_EMDRV_UARTDRV_FRAME_ERROR   ( ECODE_EMDRV_UARTDRV_BASE | 0x0000000D)

A UART frame error. Data is ignored.

ECODE_EMDRV_UARTDRV_DMA_ALLOC_ERROR

#define ECODE_EMDRV_UARTDRV_DMA_ALLOC_ERROR   ( ECODE_EMDRV_UARTDRV_BASE | 0x0000000E)

Unable to allocate DMA channels.

ECODE_EMDRV_UARTDRV_CLOCK_ERROR

#define ECODE_EMDRV_UARTDRV_CLOCK_ERROR   ( ECODE_EMDRV_UARTDRV_BASE | 0x0000000F)

Unable to set a desired baudrate.