LMS 2012
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
suart_err.h File Reference

Go to the source code of this file.

Macros

#define PRU_SUART_SUCCESS   (0u)
 
#define PRU_SUART_FAILURE   (-1)
 
#define PRU_SUART_ERR_DEVICE_NOT_OPEN   (1u)
 
#define PRU_SUART_ERR_UARTS_INIT_FAIL   (2u)
 
#define PRU_SUART_ERR_UARTS_RESET_FAIL   (3u)
 
#define PRU_SUART_ERR_HANDLE_INVALID   (4u)
 
#define PRU_SUART_ERR_PARAMETER_INVALID   (5u)
 
#define PRU_SUART_ERR_TX   (6u)
 
#define PRU_SUART_TX_COMPLETE   (7u)
 
#define PRU_SUART_TX_BUSY   (8u)
 
#define PRU_SUART_TX_UNDERRUN   (9u)
 
#define PRU_SUART_ERR_RX   (10u)
 
#define PRU_SUART_RX_COMPLETE   (11u)
 
#define PRU_SUART_RX_BUSY   (12u)
 
#define PRU_SUART_RX_OVERRUN   (13u)
 
#define SUART_INVALID_TX_BAUD   (14u)
 
#define SUART_INVALID_OVERSAMPLING   (15u)
 
#define SUART_INVALID_RX_BAUD   (16u)
 
#define SUART_UART_IN_USE   (17u)
 
#define SUART_INVALID_CLKDIVISOR   (18u)
 
#define SUART_INVALID_UART_NUM   (19u)
 
#define SUART_INVALID_SR_NUM   (20u)
 

Macro Definition Documentation

#define PRU_SUART_ERR_DEVICE_NOT_OPEN   (1u)

Returns success on Soft UART transaction

Definition at line 31 of file suart_err.h.

#define PRU_SUART_ERR_HANDLE_INVALID   (4u)

Return

Definition at line 37 of file suart_err.h.

#define PRU_SUART_ERR_PARAMETER_INVALID   (5u)

Return

Definition at line 39 of file suart_err.h.

#define PRU_SUART_ERR_RX   (10u)

Return

Definition at line 53 of file suart_err.h.

#define PRU_SUART_ERR_TX   (6u)

Return

Definition at line 43 of file suart_err.h.

#define PRU_SUART_ERR_UARTS_INIT_FAIL   (2u)

Return

Definition at line 33 of file suart_err.h.

#define PRU_SUART_ERR_UARTS_RESET_FAIL   (3u)

Return

Definition at line 35 of file suart_err.h.

#define PRU_SUART_FAILURE   (-1)

Definition at line 28 of file suart_err.h.

#define PRU_SUART_RX_BUSY   (12u)

Return

Definition at line 57 of file suart_err.h.

#define PRU_SUART_RX_COMPLETE   (11u)

Return

Definition at line 55 of file suart_err.h.

#define PRU_SUART_RX_OVERRUN   (13u)

Return

Definition at line 59 of file suart_err.h.

#define PRU_SUART_SUCCESS   (0u)

Definition at line 26 of file suart_err.h.

#define PRU_SUART_TX_BUSY   (8u)

Return

Definition at line 47 of file suart_err.h.

#define PRU_SUART_TX_COMPLETE   (7u)

Return

Definition at line 45 of file suart_err.h.

#define PRU_SUART_TX_UNDERRUN   (9u)

Return

Definition at line 49 of file suart_err.h.

#define SUART_INVALID_CLKDIVISOR   (18u)

Definition at line 69 of file suart_err.h.

#define SUART_INVALID_OVERSAMPLING   (15u)

Definition at line 64 of file suart_err.h.

#define SUART_INVALID_RX_BAUD   (16u)

Definition at line 65 of file suart_err.h.

#define SUART_INVALID_SR_NUM   (20u)

Definition at line 71 of file suart_err.h.

#define SUART_INVALID_TX_BAUD   (14u)

Return

Definition at line 63 of file suart_err.h.

#define SUART_INVALID_UART_NUM   (19u)

Definition at line 70 of file suart_err.h.

#define SUART_UART_IN_USE   (17u)

Definition at line 67 of file suart_err.h.