Nut/OS  4.10.3
API Reference
LC/VF Display Driver.
Collaboration diagram for LC/VF Display Driver.:

Defines

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

Variables

TERMDCB dcb_term
 Terminal device control block structure.
NUTDEVICE devLcd
 LCD device information structure.
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.
NUTDEVICE devSpiMegaLcd
 LCD device information structure.

Define Documentation

#define LcdNanoDelay (   a)

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:
xtDelay time in milliseconds

Definition at line 137 of file hd44780_at91.c.

#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.


Variable Documentation

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.

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.

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.

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.

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.

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.

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.