PDK API Guide for J721E
UART Driver Error code

Introduction

Note
: The following error codes are not used by all the UART implementations, some driver implementation only use UART_ERROR.

Macros

#define UART_ERRNO_BASE   (0)
 UART driver error base. More...
 
#define UART_EINVAL   (UART_ERRNO_BASE-1)
 Error Code: Invalid argument. More...
 
#define UART_EINUSE   (UART_ERRNO_BASE-2)
 Error Code: Operation cannot be implemented because a previous operation is still not complete. More...
 
#define UART_ENOTIMPL   (UART_ERRNO_BASE-3)
 Error Code: Operation is not implemented. More...
 

Macro Definition Documentation

◆ UART_ERRNO_BASE

#define UART_ERRNO_BASE   (0)

UART driver error base.

◆ UART_EINVAL

#define UART_EINVAL   (UART_ERRNO_BASE-1)

Error Code: Invalid argument.

◆ UART_EINUSE

#define UART_EINUSE   (UART_ERRNO_BASE-2)

Error Code: Operation cannot be implemented because a previous operation is still not complete.

◆ UART_ENOTIMPL

#define UART_ENOTIMPL   (UART_ERRNO_BASE-3)

Error Code: Operation is not implemented.