* * $Log: genchar.c,v $ * Revision 1.1 2006/04/07 13:52:52 haraldkipp * Generic character driver sample added. * * *
#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_DPORT 0x104 |
#define | GENDEV_SIGNAL sig_INTERRUPT1 |
#define | GENDEV_SPORT 0x100 |
Functions | |
long | GenCharSize (NUTFILE *fp) |
Retrieves the number of characters in input buffer. | |
Variables | |
NUTDEVICE | devGenChar |
Device information structure. |