Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

lcd.h File Reference


Detailed Description

Definition in file lcd.h.

#include "global.h"
#include "lcdconf.h"

Go to the source code of this file.

Defines

#define LCD_DELAY   asm volatile ("nop\n nop\n nop\n");
#define LCD_CLR   0
#define LCD_HOME   1
#define LCD_ENTRY_MODE   2
#define LCD_ENTRY_INC   1
#define LCD_ENTRY_SHIFT   0
#define LCD_ON_CTRL   3
#define LCD_ON_DISPLAY   2
#define LCD_ON_CURSOR   1
#define LCD_ON_BLINK   0
#define LCD_MOVE   4
#define LCD_MOVE_DISP   3
#define LCD_MOVE_RIGHT   2
#define LCD_FUNCTION   5
#define LCD_FUNCTION_8BIT   4
#define LCD_FUNCTION_2LINES   3
#define LCD_FUNCTION_10DOTS   2
#define LCD_CGRAM   6
#define LCD_DDRAM   7
#define LCD_BUSY   7
#define LCD_FDEF_1   (1<<LCD_FUNCTION_8BIT)
#define LCD_FDEF_2   (1<<LCD_FUNCTION_2LINES)
#define LCD_FUNCTION_DEFAULT   ((1<<LCD_FUNCTION) | LCD_FDEF_1 | LCD_FDEF_2)
#define LCD_MODE_DEFAULT   ((1<<LCD_ENTRY_MODE) | (1<<LCD_ENTRY_INC))
#define LCDCHAR_PROGRESS05   0
#define LCDCHAR_PROGRESS15   1
#define LCDCHAR_PROGRESS25   2
#define LCDCHAR_PROGRESS35   3
#define LCDCHAR_PROGRESS45   4
#define LCDCHAR_PROGRESS55   5
#define LCDCHAR_REWINDARROW   6
#define LCDCHAR_STOPBLOCK   7
#define LCDCHAR_PAUSEBARS   8
#define LCDCHAR_FORWARDARROW   9
#define LCDCHAR_SCROLLUPARROW   10
#define LCDCHAR_SCROLLDNARROW   11
#define LCDCHAR_BLANK   12
#define LCDCHAR_ANIPLAYICON0   13
#define LCDCHAR_ANIPLAYICON1   14
#define LCDCHAR_ANIPLAYICON2   15
#define LCDCHAR_ANIPLAYICON3   16
#define PROGRESSPIXELS_PER_CHAR   6

Functions

unsigned char __attribute__ ((progmem)) LcdCustomChar[]
void lcdInitHW (void)
void lcdBusyWait (void)
void lcdControlWrite (u08 data)
u08 lcdControlRead (void)
void lcdDataWrite (u08 data)
u08 lcdDataRead (void)
void lcdInit (void)
void lcdHome (void)
void lcdClear (void)
void lcdGotoXY (u08 row, u08 col)
void lcdLoadCustomChar (u08 *lcdCustomCharArray, u08 romCharNum, u08 lcdCharNum)
void lcdPrintData (char *data, u08 nBytes)
void lcdProgressBar (u16 progress, u16 maxprogress, u08 length)


Generated on Sun Oct 29 03:41:08 2006 for Procyon AVRlib by  doxygen 1.4.2