#include <string.h>#include <sys/atom.h>#include <sys/heap.h>#include <sys/event.h>#include <sys/timer.h>#include <sys/device.h>#include <dev/irqreg.h>#include <dev/uartavr.h>#include <fcntl.h>
Go to the source code of this file.
Defines | |
| #define | _IOFBF 0x00 |
| #define | _IOLBF 0x01 |
| #define | _IONBF 0x02 |
Functions | |
| int | UartAvrInput (NUTDEVICE *dev) |
| Wait for input. | |
| int | UartAvrOutput (NUTDEVICE *dev) |
| Initiate output. | |
| int | UartAvrFlush (NUTDEVICE *dev) |
| Wait for output buffer empty. | |
| int | UartAvrIOCtl (NUTDEVICE *dev, int req, void *conf) |
| Perform on-chip UART control functions. | |
| int | UartAvrInit (NUTDEVICE *dev) |
| Initialize on chip uart device. | |
| int | UartAvrRead (NUTFILE *fp, void *buffer, int size) |
| Read from device. | |
| int | UartAvrPut (NUTDEVICE *dev, CONST void *buffer, int len, int pflg) |
| Write to device. | |
| int | UartAvrWrite (NUTFILE *fp, CONST void *buffer, int len) |
| int | UartAvrWrite_P (NUTFILE *fp, PGM_P buffer, int len) |
| NUTFILE * | UartAvrOpen (NUTDEVICE *dev, CONST char *name, int mode, int acc) |
| Open a device or file. | |
| int | UartAvrClose (NUTFILE *fp) |
| Close a device or file. | |
| long | UartAvrSize (NUTFILE *fp) |
| Request file size. | |