#include <avr/io.h>
#include <avr/interrupt.h>
#include <avr/signal.h>
#include "buffer.h"
#include "uart2.h"
Go to the source code of this file.
Functions | |
| void | uartInit (void) |
| initializes uart | |
| void | uartInitBuffers (void) |
| initializes transmit and receive buffers | |
| void | uartSetBaudRate (u08 nUart, u32 baudrate) |
| cBuffer * | uartGetRxBuffer (u08 nUart) |
| cBuffer * | uartGetTxBuffer (u08 nUart) |
| void | uartSendByte (u08 nUart, u08 txData) |
| void | uart0SendByte (u08 data) |
| void | uart1SendByte (u08 data) |
| u08 | uartReceiveByte (u08 nUart, u08 *rxData) |
| void | uartFlushReceiveBuffer (u08 nUart) |
| u08 | uartReceiveBufferIsEmpty (u08 nUart) |
| void | uartSendTxBuffer (u08 nUart) |
| u08 | uartSendBuffer (u08 nUart, char *buffer, u16 nBytes) |
| void | uartTransmitService (u08 nUart) |
| void | uartReceiveService (u08 nUart) |
| SIGNAL (SIG_UART0_TRANS) | |
Variables | |
| volatile u08 | uartReadyTx [2] |
| volatile u08 | uartBufferedTx [2] |
| cBuffer | uartRxBuffer [2] |
| cBuffer | uartTxBuffer [2] |
| unsigned short | uartRxOverflow [2] |
Definition in file uart2.c.
1.3-rc2