LCD/VFD hardware support. More...
LCD/VFD hardware support.
#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_RE 2 |
#define LCD_FUNCTION_10DOTS 2 |
#define LCD_FUNCTION_DS 1 |
#define LCD_FUNCTION_REV 0 |
#define LCD_EXT 3 |
#define LCD_EXT_FONT 2 |
#define LCD_EXT_INVCURS 1 |
#define LCD_EXT_4LINES 0 |
#define LCD_CGRAM 6 |
#define LCD_DDRAM 7 |
#define LCD_BUSY 7 |
#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_RE 2 |
#define LCD_FUNCTION_10DOTS 2 |
#define LCD_FUNCTION_DS 1 |
#define LCD_FUNCTION_REV 0 |
#define LCD_EXT 3 |
#define LCD_EXT_FONT 2 |
#define LCD_EXT_INVCURS 1 |
#define LCD_EXT_4LINES 0 |
#define LCD_CGRAM 6 |
#define LCD_DDRAM 7 |
#define LCD_BUSY 7 |
#define LCD_CTRL_ADDR (lcd_base + 0x0000) |
#define LCD_DATA_ADDR (lcd_base + 0x0001) |
#define LCD_READ_OFFSET 0x0002 |