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. |
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.
fp | Pointer to a _NUTFILE structure, obtained by a previous call to UsartOpen(). |