changing circuitry to disable RTC, update initialization to match
[fw/openalt] / uart / uart.h
1 #ifndef _UART_H_
2 #define _UART_H_
3
4 #include "FreeRTOS.h"
5 #include "queue.h"
6
7 typedef void *xComPortHandle;
8
9 xComPortHandle uartInit (portCHAR pxPort, unsigned portLONG ulWantedBaud, unsigned portBASE_TYPE uxQueueLength);
10 void uartPutString (portCHAR pxPort, const signed portCHAR * const pcString, portTickType xBlockTime);
11 signed portBASE_TYPE uartGetChar (portCHAR pxPort, signed portCHAR *pcRxedChar, portTickType xBlockTime);
12 signed portBASE_TYPE uartPutChar (portCHAR pxPort, signed portCHAR cOutChar, portTickType xBlockTime);
13 void uartClose (portCHAR xPort);
14 void uart0GetRxQueue (xQueueHandle *qh);
15 void uart1GetRxQueue (xQueueHandle *qh);
16
17 #endif