#include "console.h"
#include "lcdfonts.h"
Include dependency graph for lcd.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | ROM_CHAR_PTR code char* |
#define | LcdLocateHome() {LcdPutCommand (128);InitiateDelay(39);} |
Low level: Move LCD Cursor to start of the first line. | |
#define | LcdLocateLine2() {LcdPutCommand (168);InitiateDelay(39);} |
Low level: Move LCD Cursor to start of the second line. | |
#define | LcdLocateCG() {LcdPutCommand (64);InitiateDelay(39);} |
Low level: Point to start of LCD Character Generator RAM. | |
Functions | |
void | LcdSelectFont (ROM_CHAR_PTR font) |
void | LcdPutChar (char c) |
Low level: Send one data character to LCD. | |
void | LcdPutCommand (char cmd) |
Low level: Send one command octet to LCD. | |
void | LcdReset () |
Low level: Reset LCD. | |
void | LcdPutString (char *str) |
Low level: Send a zero-terminated string of bytes to lcd from buffer in any memory. | |
void | LcdPutConstantString (char code *str) |
Low level: Send a zero-terminated string of bytes to lcd from buffer in ROM. | |
void | LcdSplashScreen () |
Splash screen. | |
void | LcdPutHex8 (unsigned char value) |
Print an 8-bit hex value on LCD. | |
void | LcdPutHex16 (unsigned int value) |
Print a 16-bit hex value on LCD. | |
unsigned char | LcdPrintGenericResult (unsigned char errorlevel) |
Print OK or Error (hex8) on LCD. | |
void | LcdPutUInt (unsigned long value) |
Print a 16-bit unsigned integer value on LCD. | |
Variables | |
code const unsigned char | lcd_hexchars [17] |
hexadecimal character set |
Definition in file lcd.h.
|
Low level: Point to start of LCD Character Generator RAM.
Definition at line 23 of file lcd.h. Referenced by LcdSelectFont(). |
|
Low level: Move LCD Cursor to start of the first line.
Definition at line 17 of file lcd.h. Referenced by LcdSelectFont(), LcdSplashScreen(), PlayCurrentFile(), and UpdateDisplay(). |
|
Low level: Move LCD Cursor to start of the second line.
Definition at line 20 of file lcd.h. Referenced by InitDisplay(), LcdSplashScreen(), main(), and UpdateDisplay(). |
|
Definition at line 11 of file lcd.h. Referenced by LcdSelectFont(). |
|
Print OK or Error (hex8) on LCD.
Definition at line 185 of file lcd.c. References Delay(), lcd_hexchars, LcdPutChar(), and LcdPutConstantString(). Referenced by main().
Here is the call graph for this function: |
|
Low level: Send one data character to LCD.
Definition at line 17 of file lcd.c. References InitiateDelay, LCD_DATA_MODE, LCD_DATABUS, LCD_ENABLE, LCD_RS, and WaitOutDelay. Referenced by LcdPrintGenericResult(), LcdPutConstantString(), LcdPutHex16(), LcdPutHex8(), LcdPutString(), LcdPutUInt(), LcdSplashScreen(), main(), and UpdateDisplay().
|
|
Low level: Send one command octet to LCD.
Definition at line 33 of file lcd.c. References LCD_COMMAND_MODE, LCD_DATABUS, LCD_ENABLE, LCD_RS, and WaitOutDelay. Referenced by LcdFadeIn(), LcdFadeOut(), and LcdReset().
|
|
Low level: Send a zero-terminated string of bytes to lcd from buffer in ROM. Example: LcdPutConstantString ("Hello!");
Definition at line 102 of file lcd.c. References LcdPutChar(). Referenced by LcdPrintGenericResult(), LcdSelectFont(), LcdSplashScreen(), main(), PlayCurrentFile(), and UpdateDisplay().
Here is the call graph for this function: |
|
Print a 16-bit hex value on LCD.
Definition at line 168 of file lcd.c. References lcd_hexchars, and LcdPutChar().
Here is the call graph for this function: |
|
Print an 8-bit hex value on LCD.
Definition at line 177 of file lcd.c. References lcd_hexchars, and LcdPutChar().
Here is the call graph for this function: |
|
Low level: Send a zero-terminated string of bytes to lcd from buffer in any memory. Example: LcdPutString (s);
Definition at line 89 of file lcd.c. References LcdPutChar(). Referenced by InitDisplay().
Here is the call graph for this function: |
|
Print a 16-bit unsigned integer value on LCD.
Definition at line 221 of file lcd.c. References LcdPutChar(). Referenced by main(), and UpdateDisplay().
Here is the call graph for this function: |
|
Low level: Reset LCD.
Definition at line 56 of file lcd.c. References InitiateDelay, LCD_ENABLE, lcdFont_barchars, LcdPutCommand(), LcdSelectFont(), and WaitOutDelay. Referenced by AvailableProcessorTime(), InitDisplay(), LcdSplashScreen(), and main().
Here is the call graph for this function: |
|
Definition at line 43 of file lcd.c. References LcdLocateCG, LcdLocateHome, LcdPutConstantString(), and ROM_CHAR_PTR. Referenced by AvailableProcessorTime(), LcdReset(), and LcdSplashScreen().
Here is the call graph for this function: |
|
Splash screen.
Definition at line 147 of file lcd.c. References LcdFadeIn(), LcdFadeOut(), lcdFont_vlsichars, LcdLocateHome, LcdLocateLine2, LcdPutChar(), LcdPutConstantString(), LcdReset(), and LcdSelectFont().
Here is the call graph for this function: |
|
hexadecimal character set
Definition at line 14 of file lcd.h. Referenced by LcdPrintGenericResult(), LcdPutHex16(), and LcdPutHex8(). |