Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

uart.h File Reference

Detailed Description

Definition in file uart.h.

#include "global.h"
#include "buffer.h"

Go to the source code of this file.


#define UART_TX_BUFFER_SIZE   0x0040
#define UART_RX_BUFFER_SIZE   0x0040


void uartInit (void)
void uartInitBuffers (void)
void uartSetRxHandler (void(*rx_func)(unsigned char c))
void uartSetBaudRate (u32 baudrate)
cBufferuartGetRxBuffer (void)
cBufferuartGetTxBuffer (void)
void uartSendByte (u08 data)
int uartGetByte (void)
u08 uartReceiveByte (u08 *data)
u08 uartReceiveBufferIsEmpty (void)
void uartFlushReceiveBuffer (void)
u08 uartAddToTxBuffer (u08 data)
void uartSendTxBuffer (void)
u08 uartSendBuffer (char *buffer, u16 nBytes)

Generated on Sun Oct 29 03:41:09 2006 for Procyon AVRlib by  doxygen 1.4.2