|
LMS 2012
|
Go to the documentation of this file.
26 #define PRU_SUART_SUCCESS (0u)
28 #define PRU_SUART_FAILURE (-1)
31 #define PRU_SUART_ERR_DEVICE_NOT_OPEN (1u)
33 #define PRU_SUART_ERR_UARTS_INIT_FAIL (2u)
35 #define PRU_SUART_ERR_UARTS_RESET_FAIL (3u)
37 #define PRU_SUART_ERR_HANDLE_INVALID (4u)
39 #define PRU_SUART_ERR_PARAMETER_INVALID (5u)
43 #define PRU_SUART_ERR_TX (6u)
45 #define PRU_SUART_TX_COMPLETE (7u)
47 #define PRU_SUART_TX_BUSY (8u)
49 #define PRU_SUART_TX_UNDERRUN (9u)
53 #define PRU_SUART_ERR_RX (10u)
55 #define PRU_SUART_RX_COMPLETE (11u)
57 #define PRU_SUART_RX_BUSY (12u)
59 #define PRU_SUART_RX_OVERRUN (13u)
63 #define SUART_INVALID_TX_BAUD (14u)
64 #define SUART_INVALID_OVERSAMPLING (15u)
65 #define SUART_INVALID_RX_BAUD (16u)
67 #define SUART_UART_IN_USE (17u)
69 #define SUART_INVALID_CLKDIVISOR (18u)
70 #define SUART_INVALID_UART_NUM (19u)
71 #define SUART_INVALID_SR_NUM (20u)