Main Page   Modules   Data Structures   File List   Data Fields   Globals  

uartsw.h File Reference

Software Interrupt-driven UART function library. More...

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

Go to the source code of this file.

Defines

#define UARTSW_RX_BUFFER_SIZE   0x20

Functions

void uartswInit (void)
 enable and initialize the software uart

void uartswInitBuffers (void)
 create and initialize the uart buffers

void uartswOff (void)
 turns off software UART

cBuffer * uartswGetRxBuffer (void)
 returns the receive buffer structure

void uartswSetBaudRate (u32 baudrate)
void uartswSendByte (u08 data)
u08 uartswReceiveByte (u08 *rxData)
 gets a byte (if available) from the uart receive buffer

void uartswTxBitService (void)
void uartswRxBitService (void)


Detailed Description

Software Interrupt-driven UART function library.

Definition in file uartsw.h.


Generated on Sun Feb 22 19:12:32 2004 for Procyon AVRlib by doxygen1.3-rc2