Definition in file uartsw2.c.
#include <avr/io.h>
#include <avr/interrupt.h>
#include "global.h"
#include "timer.h"
#include "uartsw2.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 | |
void | uartswSetBaudRate (u32 baudrate) |
sets the uart baud rate | |
cBuffer * | uartswGetRxBuffer (void) |
returns the receive buffer structure | |
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 | |
SIGNAL (SIG_INTERRUPT2) |