#include <avr/io.h>
#include <avr/interrupt.h>
#include <avr/signal.h>
#include "global.h"
#include "timer.h"
#include "uartsw.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) |
| cBuffer * | uartswGetRxBuffer (void) |
| returns the receive buffer structure | |
| void | uartswSendByte (u08 data) |
| u08 | uartswReceiveByte (u08 *rxData) |
| gets a byte (if available) from the uart receive buffer | |
| void | uartswTxBitService (void) |
| void | uartswRxBitService (void) |
Variables | |
| volatile u08 | UartswTxBusy |
| volatile u16 | UartswBaudRateDiv |
| volatile u08 | UartswTxData |
| volatile u08 | UartswTxBitNum |
| cBuffer | uartswRxBuffer |
| uartsw receive buffer | |
| volatile u08 | UartswRxStartBit |
| volatile u08 | UartswRxData |
| volatile u08 | UartswRxBitNum |
Definition in file uartsw.c.
1.3-rc2