LC/VF Display Driver.
[Display Devices]

Collaboration diagram for LC/VF Display Driver.:

Defines

#define LCD_SHORT_DELAY   1
#define LCD_LONG_DELAY   2
#define LCD_DELAY   _NOP(); _NOP(); _NOP(); _NOP()
#define LcdNanoDelay(a)
 Wait until controller will be ready again.

Variables

TERMDCB dcb_term
 Terminal device control block structure.
NUTDEVICE devLcd
 LCD device information structure.
TERMDCB dcb_term
 Terminal device control block structure.
NUTDEVICE devLcdBus
 LCD device information structure.
TERMDCB dcb_term
 Terminal device control block structure.
NUTDEVICE devLcd
 LCD device information structure.
NUTDEVICE devSpiMegaLcd
 LCD device information structure.

Define Documentation

#define LCD_SHORT_DELAY   1

Definition at line 284 of file hd44780.c.

#define LCD_LONG_DELAY   2

Definition at line 288 of file hd44780.c.

#define LCD_DELAY   _NOP(); _NOP(); _NOP(); _NOP()

Definition at line 303 of file hd44780.c.

#define LcdNanoDelay (  ) 

Wait until controller will be ready again.

If LCD_WR_BIT is defined we will wait until the ready bit is set, otherwise We will either busy loop with NutDelay or sleep with NutSleep. The second option will be used if we have defined NUT_CPU_FREQ. In this case we have a higher timer resolution.

Parameters:
xt Delay time in milliseconds

Definition at line 137 of file hd44780_at91.c.


Variable Documentation

TERMDCB dcb_term
Initial value:
 {
    LcdInit,            
    LcdWriteData,       
    LcdWriteCmd,        
    LcdClear,           
    LcdSetCursor,       
    LcdCursorHome,      
    LcdCursorLeft,      
    LcdCursorRight,     
    LcdCursorMode,      
    0,                  
    0,                  
    LCD_ROWS,           
    LCD_COLS,           
    LCD_COLS,           
    0,                  
    0,                  
    0                   
}

Terminal device control block structure.

Definition at line 550 of file hd44780.c.

NUTDEVICE devLcd
Initial value:
 {
    0,              
    {'l', 'c', 'd', 0, 0, 0, 0, 0, 0},      
    IFTYP_STREAM,   
    0,              
    0,              
    0,              
    &dcb_term,      
    TermInit,       
    TermIOCtl,      
    0,
    TermWrite,
    TermWrite_P,
    TermOpen,
    TermClose,
    0
}

LCD device information structure.

Definition at line 573 of file hd44780.c.

TERMDCB dcb_term
Initial value:
 {
    LcdInit,                    
    LcdWriteData,               
    LcdWriteCmd,                
    LcdClear,                   
    LcdSetCursor,               
    LcdCursorHome,              
    LcdCursorLeft,              
    LcdCursorRight,             
    LcdCursorMode,              
    0,                          
    0,                          














    











    2,                  
    16,                 
    16,                 





















    0,                  
    0,                  
    0                   
}

Terminal device control block structure.

Definition at line 306 of file hd44780_bus.c.

NUTDEVICE devLcdBus
Initial value:
 {
    0,                          
    {'l', 'c', 'd', 'b', 'u', 's', 0, 0, 0},    
    IFTYP_STREAM,               
    0,                          
    0,                          
    0,                          
    &dcb_term,                  
    TermInit,                   
    TermIOCtl,                  
    0,
    TermWrite,
    TermWrite_P,
    TermOpen,
    TermClose,
    0
}

LCD device information structure.

Definition at line 376 of file hd44780_bus.c.

TERMDCB dcb_term
Initial value:
 {
    LcdInit,                    
    LcdWriteData,               
    LcdWriteInstruction,        
    LcdClear,                   
    LcdSetCursor,               
    LcdCursorHome,              
    LcdCursorLeft,              
    LcdCursorRight,             
    LcdCursorMode,              
    0,                          
    0,                          
    LCD_ROWS,                   
    LCD_COLS,                   
    LCD_COLS,                   
    0,                          
    0,                          
    0                           
}

Terminal device control block structure.

Definition at line 460 of file hd44780_at91.c.

NUTDEVICE devLcd
Initial value:
 {
    0,                          
    {'c', 'h', 'a', 'r', 'l', 'c', 'd', 0, 0},  
    IFTYP_STREAM,               
    0,                          
    0,                          
    0,                          
    &dcb_term,                  
    TermInit,                   
    TermIOCtl,                  
    0,
    TermWrite,
    TermOpen,
    TermClose,
    0
}

LCD device information structure.

Definition at line 483 of file hd44780_at91.c.

Referenced by main().

NUTDEVICE devSpiMegaLcd
Initial value:
 {
    0,              
    {'l', 'c', 'd', 0, 0, 0, 0, 0, 0},      
    IFTYP_STREAM,   
    0,              
    0,              
    0,              
    &dcb_term,      
    TermInit,       
    TermIOCtl,      
    0,
    TermWrite,

    TermWrite_P,

    TermOpen,
    TermClose,
    0
}

LCD device information structure.

Definition at line 123 of file spi_mlcd.c.


© 2000-2010 by contributors - visit http://www.ethernut.de/