MSPM0G1X0X_G3X0X TI-Driver Library  2.01.00.03
Macros
Collaboration diagram for UART status codes:

Macros

#define UART_STATUS_SUCCESS   (0)
 Successful status code returned by UART APIs.
 
#define UART_STATUS_SREADTIMEOUT   (1)
 A read timeout occurred (not an error).
 
#define UART_STATUS_EFRAMING   (-1)
 A framing error occurred.
 
#define UART_STATUS_EPARITY   (-2)
 A parity error occurred.
 
#define UART_STATUS_EBREAK   (-4)
 A break error occurred.
 
#define UART_STATUS_EOVERRUN   (-8)
 A FIFO overrun occurred.
 
#define UART_STATUS_EINUSE   (-9)
 The UART is currently in use.
 
#define UART_STATUS_EINVALID   (-10)
 An invalid argument or UART_Params field was passed to UART API.
 
#define UART_STATUS_EFAIL   (-11)
 General failure status returned by UART API.
 
#define UART_STATUS_EMEMORY   (-12)
 A memory allocation failure occurred.
 
#define UART_STATUS_ETIMEOUT   (-13)
 A timeout occurred for a blocking UART_read or UART_write call.
 
#define UART_STATUS_ECANCELLED   (-14)
 A UART_write() or UART_read() operation was cancelled.
 
#define UART_STATUS_ENOTOPEN   (-15)
 A UART_write() or UART_read() called on a device not opened.
 
#define UART_STATUS_EAGAIN   (-16)
 A UART_write() or UART_read() in UART_Mode_NONBLOCKING would have blocked.
 

Detailed Description

© Copyright 1995-2024, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale