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

Lcdadds


Data Structures

struct  _LCDDCB

Variables

NUTDEVICE devLcd0

Detailed Description

This module is designed for managing lcd device, It's one way stream device. To write to device you can use NUT stream functions.

Example:

    #include <dev/lcd.h>
    
    NUTDEVICE* devLcd;
    
    if (NutRegisterDevice(&devLcd0, 0xf000, 0)) {
        NutPrintFormat(0, "Registering lcd device failed.\r\n");
    } else {
        NutPrintFormat(0, "Registering lcd device sucess.\r\n");
    }
    
    devLcd = NutDeviceOpen("lcd0");
    NutPrintFormat(devLcd, "Hello world");

Variable Documentation

NUTDEVICE devLcd0
 

Driver control structure.


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