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

uart.c File Reference

Detailed Description

Definition in file uart.c.

#include <avr/io.h>
#include <avr/interrupt.h>
#include "buffer.h"
#include "uart.h"

Go to the source code of this file.


typedef void(* voidFuncPtru08 )(unsigned char)


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 txData)
int uartGetByte (void)
u08 uartReceiveByte (u08 *rxData)
void uartFlushReceiveBuffer (void)
u08 uartReceiveBufferIsEmpty (void)
u08 uartAddToTxBuffer (u08 data)
void uartSendTxBuffer (void)


volatile u08 uartReadyTx
 uartReadyTx flag
volatile u08 uartBufferedTx
 uartBufferedTx flag
cBuffer uartRxBuffer
 uart receive buffer
cBuffer uartTxBuffer
 uart transmit buffer
unsigned short uartRxOverflow
 receive overflow counter

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