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

XgIfDisplay


Functions

int NutIfDisplayWrite (NUTDEVICE *dev, CONST char *data, int len)
 Write to a display device.

int NutIfDisplayWrite_P (NUTDEVICE *dev, PGM_P data, int len)
 Write program space data to a display device.


Function Documentation

int NutIfDisplayWrite NUTDEVICE   dev,
CONST char *    data,
int    len
 

Write to a display device.

The data isn't immediately transfered to the physical device, but buffered in a transmit buffer. Transmission starts either when the buffer is full or when this function is called with a zero data pointer.

Parameters:
dev  Identifies the device to write to. This pointer must have been retrieved by calling NutDeviceOpen().
data  Pointer to data to be written.
len  Number of bytes to write.
Returns:
The number of bytes written or -1 in case of an error.

int NutIfDisplayWrite_P NUTDEVICE   dev,
PGM_P    data,
int    len
 

Write program space data to a display device.

Parameters:
dev  Identifies the device to write to. This pointer must have been retrieved by calling NutDeviceOpen().
data  Pointer to data in program space to be written.
len  Number of bytes to write.
Returns:
The number of bytes written or -1 in case of an error.


Generated on Thu Jan 30 22:30:59 2003 for EduNet by doxygen1.2.18