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.

## Defines
#define | UART_DEFAULT_BAUD_RATE 9600
#define | UART_TX_BUFFER_SIZE 0x0040
#define | UART_RX_BUFFER_SIZE 0x0040
#define | UART_INTERRUPT_HANDLER SIGNAL
## Functions
void | uartInit (void)
void | uartInitBuffers (void)
void | uartSetRxHandler (void(*rx_func)(unsigned char c))
void | uartSetBaudRate (u32 baudrate)
cBuffer * | uartGetRxBuffer (void)
cBuffer * | uartGetTxBuffer (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)