#include "global.h"
Go to the source code of this file.
Defines | |
#define | LCD_H |
#define | LCD_PORT_INTERFACE |
#define | LCD_CTRL_PORT PORTC |
#define | LCD_CTRL_DDR DDRC |
#define | LCD_CTRL_RS PC2 |
#define | LCD_CTRL_RW PC3 |
#define | LCD_CTRL_E PC4 |
#define | LCD_DATA_POUT PORTA |
#define | LCD_DATA_PIN PINA |
#define | LCD_DATA_DDR DDRA |
#define | LCD_DATA_4BIT |
#define | LCD_LINES 2 |
#define | LCD_LINE_LENGTH 24 |
#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 (0<<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 | |
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 lcdCharNum, u08 romCharNum) |
void | lcdPrintData (char *data, u08 nBytes) |
void | lcdProgressBar (u16 progress, u16 maxprogress, u08 length) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Value: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Value: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Value: |
|
|
|
|
|
|
|
|
|
Definition at line 123 of file lcd.c. Referenced by lcdClear(), lcdGotoXY(), lcdHome(), lcdInit(), and lcdLoadCustomChar().
|
|
|
|
Definition at line 218 of file lcd.c. Referenced by lcdLoadCustomChar(), lcdPrintData(), and lcdProgressBar().
|
|
Definition at line 361 of file lcd.c. Referenced by debug().
|
|
|
|
|
|
|
|
Definition at line 380 of file lcd.c. Referenced by lcdInit().
|
|
|
|
|