Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages | Examples

genchar.c File Reference


Detailed Description

Generic character driver template.

 *
 * $Log: genchar.c,v $
 * Revision 1.1  2006/04/07 13:52:52  haraldkipp
 * Generic character driver sample added.
 *
 *
 * 


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.


© 2000-2006 by egnite Software GmbH - visit http://www.ethernut.de/