Rev | Line | |
---|
[6319] | 1 | #ifndef W3_UART_H_ |
---|
| 2 | #define W3_UART_H_ |
---|
| 3 | |
---|
| 4 | #include "xintc.h" |
---|
| 5 | |
---|
| 6 | #include "wlan_mac_common.h" |
---|
| 7 | |
---|
| 8 | //----------------------------------------------- |
---|
| 9 | // xparameter.h definitions |
---|
| 10 | // |
---|
| 11 | // UART |
---|
| 12 | #define PLATFORM_DEV_ID_UART XPAR_UARTLITE_0_DEVICE_ID ///< XParameters rename for UART |
---|
| 13 | #define PLATFORM_INT_ID_UART XPAR_INTC_0_UARTLITE_0_VEC_ID ///< XParameters rename of UART interrupt ID |
---|
| 14 | |
---|
| 15 | #define UART_BUFFER_SIZE 1 ///< UART is configured to read 1 byte at a time |
---|
| 16 | |
---|
| 17 | int w3_uart_init(); |
---|
| 18 | int w3_uart_setup_interrupt(); |
---|
| 19 | |
---|
| 20 | #endif /* W3_UART_H_ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.