uart.c File Reference

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

Include dependency graph for uart.c:

Go to the source code of this file.

Defines

#define UART_RX_BUFFER_MASK   ( UART_RX_BUFFER_SIZE - 1)
#define UART_TX_BUFFER_MASK   ( UART_TX_BUFFER_SIZE - 1)

Variables

static volatile unsigned char UART_TxBuf [UART_TX_BUFFER_SIZE]
static volatile unsigned char UART_RxBuf [UART_RX_BUFFER_SIZE]
static volatile unsigned char UART_TxHead
static volatile unsigned char UART_TxTail
static volatile unsigned char UART_RxHead
static volatile unsigned char UART_RxTail
static volatile unsigned char UART_LastRxError


Define Documentation

#define UART_RX_BUFFER_MASK   ( UART_RX_BUFFER_SIZE - 1)

Definition at line 38 of file uart.c.

#define UART_TX_BUFFER_MASK   ( UART_TX_BUFFER_SIZE - 1)

Definition at line 39 of file uart.c.


Variable Documentation

volatile unsigned char UART_LastRxError [static]

Definition at line 145 of file uart.c.

volatile unsigned char UART_RxBuf[UART_RX_BUFFER_SIZE] [static]

Definition at line 140 of file uart.c.

volatile unsigned char UART_RxHead [static]

Definition at line 143 of file uart.c.

volatile unsigned char UART_RxTail [static]

Definition at line 144 of file uart.c.

volatile unsigned char UART_TxBuf[UART_TX_BUFFER_SIZE] [static]

Definition at line 139 of file uart.c.

volatile unsigned char UART_TxHead [static]

Definition at line 141 of file uart.c.

volatile unsigned char UART_TxTail [static]

Definition at line 142 of file uart.c.


Generated on Wed Sep 17 19:31:52 2008 for mptry by  doxygen 1.5.5