VLSI Solution Oy VS1103 VLSI Solution Karaoke, MIDI and ADPCM Player Source Code Documentation

Main Page | Class List | File List | Class Members | File Members | Related Pages

lcd.h

Go to the documentation of this file.
00001 
00005 #ifndef LCD_H
00006 #define LCD_H
00007 
00008 #include "console.h"
00009 #include "lcdfonts.h"
00010 
00011 #define ROM_CHAR_PTR code char*
00012 void LcdSelectFont(ROM_CHAR_PTR font);
00013 
00014 extern code const unsigned char lcd_hexchars[17];
00015 
00017 #define LcdLocateHome(){LcdPutCommand (128);InitiateDelay(39);}
00018 
00020 #define LcdLocateLine2(){LcdPutCommand (168);InitiateDelay(39);}
00021 
00023 #define LcdLocateCG(){LcdPutCommand (64);InitiateDelay(39);}
00024 
00025 void LcdPutChar(char c);
00026 void LcdPutCommand(char cmd);
00027 void LcdReset();
00028 void LcdPutString(char *str);
00029 void LcdPutConstantString(char code *str);
00030 void LcdSplashScreen();
00031 void LcdPutHex8 (unsigned char value);
00032 void LcdPutHex16 (unsigned int value);
00033 unsigned char LcdPrintGenericResult (unsigned char errorlevel);
00034 void LcdPutUInt(unsigned long value);
00035 
00036 
00037 #endif

All software copyright 2000-2004 VLSI Solution OY. Redistribution of these software modules is limited to VLSI Solution Oy chip promotional use only. Free or commercial use of these software modules in MP3 players is ok if the product includes chip(s) from VLSI. You can request the complete (compilable) package from mp3@vlsi.fi. This exampe code is provided with good faith to assist You in code development, but under no circumstances will VLSI offer any guarantees on the usability or functionality of any example software or its fitness for any purpose.