XgDevGenChar


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.


Function Documentation

long GenCharSize ( NUTFILE fp  ) 

Retrieves the number of characters in input buffer.

This function is called by the low level size routine of the C runtime library, using the _NUTDEVICE::dev_size entry.

Parameters:
fp Pointer to a _NUTFILE structure, obtained by a previous call to UsartOpen().
Returns:
The number of bytes currently stored in input buffer.


Generated on Tue Jan 23 21:12:31 2007 for BTnut System Software by doxygen 1.4.7