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

# uartsw2.h File Reference

## Detailed Description

Definition in file uartsw2.h.

`#include "global.h"`
`#include "buffer.h"`
`#include "uartsw2conf.h"`

Go to the source code of this file.

## 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)
| sets the uart baud rate
void | uartswSendByte (u08 data)
| sends a single byte over the uart
u08 | uartswReceiveByte (u08 *rxData)
| gets a single byte from the uart receive buffer
void | uartswTxBitService (void)
| internal transmit bit handler
void | uartswRxBitService (void)
| internal receive bit handler