Generic character driver template. More...
#include <cfg/os.h>#include <stdlib.h>#include <string.h>#include <sys/file.h>#include <sys/event.h>#include <sys/timer.h>#include <dev/irqreg.h>#include <dev/genchar.h>Data Structures | |
| struct | DEVDCB |
| Device driver's private data structure. More... | |
Defines | |
| #define | GENDEV_SPORT 0x100 |
| #define | GENDEV_DPORT 0x104 |
| #define | GENDEV_SIGNAL sig_INTERRUPT1 |
Functions | |
| int | GenCharWrite_P (NUTFILE *fp, PGM_P buffer, int len) |
| Write program data to the device. | |
| long | GenCharSize (NUTFILE *fp) |
| Retrieves the number of characters in input buffer. | |
Variables | |
| NUTDEVICE | devGenChar |
| Device information structure. | |
Generic character driver template.
* * $Log$ * Revision 1.2 2008/08/11 06:59:42 haraldkipp * BSD types replaced by stdint types (feature request #1282721). * * Revision 1.1 2006/04/07 13:52:52 haraldkipp * Generic character driver sample added. * * *