#include <compiler.h>#include <stdlib.h>#include <string.h>#include <memdebug.h>#include <sys/atom.h>#include <sys/heap.h>#include <sys/event.h>#include <sys/timer.h>#include <dev/irqreg.h>#include <dev/usart.h>#include <fcntl.h>

Go to the source code of this file.
Defines | |
| #define | _IOFBF 0x00 |
| #define | _IOLBF 0x01 |
| #define | _IONBF 0x02 |
Functions | |
| int | UsartInit (NUTDEVICE *dev) |
| Initialize the USART device. | |
| int | UsartRead (NUTFILE *fp, void *buffer, int size) |
| Read from device. | |
| int | UsartWrite (NUTFILE *fp, CONST void *buffer, int len) |
| Write a device or file. | |
| int | UsartWrite_P (NUTFILE *fp, PGM_P buffer, int len) |
| Write a device or file. | |
| int | UsartClose (NUTFILE *fp) |
| Close an USART device. | |
| NUTFILE * | UsartOpen (NUTDEVICE *dev, CONST char *name, int mode, int acc) |
| Open an USART device. | |
| int | UsartIOCtl (NUTDEVICE *dev, int req, void *conf) |
| Perform USART control functions. | |
| long | UsartSize (NUTFILE *fp) |
| Retrieves the number of characters in input buffer. | |