#include "lcd_config.h"
Go to the source code of this file.
Defines | |
#define | LCD_DATA_MASK (0x0F << LCD_FIRST_DATA_BIT) |
#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 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_ENTRY_DEC 0x04 |
#define | LCD_ENTRY_DEC_SHIFT 0x05 |
#define | LCD_ENTRY_INC_ 0x06 |
#define | LCD_ENTRY_INC_SHIFT 0x07 |
#define | LCD_DISP_OFF 0x08 |
#define | LCD_DISP_ON 0x0C |
#define | LCD_DISP_ON_BLINK 0x0D |
#define | LCD_DISP_ON_CURSOR 0x0E |
#define | LCD_DISP_ON_CURSOR_BLINK 0x0F |
#define | LCD_MOVE_CURSOR_LEFT 0x10 |
#define | LCD_MOVE_CURSOR_RIGHT 0x14 |
#define | LCD_MOVE_DISP_LEFT 0x18 |
#define | LCD_MOVE_DISP_RIGHT 0x1C |
#define | LCD_FUNCTION_4BIT_1LINE 0x20 |
#define | LCD_FUNCTION_4BIT_2LINES 0x28 |
#define | LCD_FUNCTION_8BIT_1LINE 0x30 |
#define | LCD_FUNCTION_8BIT_2LINES 0x38 |
#define | LCD_FUNCTION_DEFAULT LCD_FUNCTION_4BIT_2LINES |
#define | LCD_MODE_DEFAULT ((1<<LCD_ENTRY_MODE) | (1<<LCD_ENTRY_INC) ) |
#define | P(s) ({static const char c[] __attribute__ ((progmem)) = s;c;}) |
#define | lcd_puts_P(__s) lcd_puts_p(P(__s)) |
#define LCD_BUSY 7 |
Definition at line 51 of file lcd_protocol.h.
#define LCD_CGRAM 6 |
Definition at line 49 of file lcd_protocol.h.
#define LCD_CLR 0 |
#define LCD_DATA_MASK (0x0F << LCD_FIRST_DATA_BIT) |
#define LCD_DDRAM 7 |
#define LCD_DISP_OFF 0x08 |
#define LCD_DISP_ON 0x0C |
Definition at line 61 of file lcd_protocol.h.
#define LCD_DISP_ON_BLINK 0x0D |
Definition at line 62 of file lcd_protocol.h.
#define LCD_DISP_ON_CURSOR 0x0E |
Definition at line 63 of file lcd_protocol.h.
#define LCD_DISP_ON_CURSOR_BLINK 0x0F |
Definition at line 64 of file lcd_protocol.h.
#define LCD_ENTRY_DEC 0x04 |
Definition at line 54 of file lcd_protocol.h.
#define LCD_ENTRY_DEC_SHIFT 0x05 |
Definition at line 55 of file lcd_protocol.h.
#define LCD_ENTRY_INC 1 |
Definition at line 36 of file lcd_protocol.h.
#define LCD_ENTRY_INC_ 0x06 |
Definition at line 56 of file lcd_protocol.h.
#define LCD_ENTRY_INC_SHIFT 0x07 |
Definition at line 57 of file lcd_protocol.h.
#define LCD_ENTRY_MODE 2 |
Definition at line 35 of file lcd_protocol.h.
#define LCD_ENTRY_SHIFT 0 |
Definition at line 37 of file lcd_protocol.h.
#define LCD_FUNCTION 5 |
Definition at line 45 of file lcd_protocol.h.
#define LCD_FUNCTION_10DOTS 2 |
Definition at line 48 of file lcd_protocol.h.
#define LCD_FUNCTION_2LINES 3 |
Definition at line 47 of file lcd_protocol.h.
#define LCD_FUNCTION_4BIT_1LINE 0x20 |
#define LCD_FUNCTION_4BIT_2LINES 0x28 |
Definition at line 74 of file lcd_protocol.h.
#define LCD_FUNCTION_8BIT 4 |
Definition at line 46 of file lcd_protocol.h.
#define LCD_FUNCTION_8BIT_1LINE 0x30 |
#define LCD_FUNCTION_8BIT_2LINES 0x38 |
Definition at line 76 of file lcd_protocol.h.
#define LCD_FUNCTION_DEFAULT LCD_FUNCTION_4BIT_2LINES |
#define LCD_HOME 1 |
#define LCD_MODE_DEFAULT ((1<<LCD_ENTRY_MODE) | (1<<LCD_ENTRY_INC) ) |
#define LCD_MOVE 4 |
Definition at line 42 of file lcd_protocol.h.
#define LCD_MOVE_CURSOR_LEFT 0x10 |
Definition at line 67 of file lcd_protocol.h.
#define LCD_MOVE_CURSOR_RIGHT 0x14 |
Definition at line 68 of file lcd_protocol.h.
#define LCD_MOVE_DISP 3 |
Definition at line 43 of file lcd_protocol.h.
#define LCD_MOVE_DISP_LEFT 0x18 |
Definition at line 69 of file lcd_protocol.h.
#define LCD_MOVE_DISP_RIGHT 0x1C |
Definition at line 70 of file lcd_protocol.h.
#define LCD_MOVE_RIGHT 2 |
Definition at line 44 of file lcd_protocol.h.
#define LCD_ON 3 |
Definition at line 38 of file lcd_protocol.h.
#define LCD_ON_BLINK 0 |
Definition at line 41 of file lcd_protocol.h.
#define LCD_ON_CURSOR 1 |
Definition at line 40 of file lcd_protocol.h.
#define LCD_ON_DISPLAY 2 |
Definition at line 39 of file lcd_protocol.h.
#define lcd_puts_P | ( | __s | ) | lcd_puts_p(P(__s)) |
Definition at line 93 of file lcd_protocol.h.
Definition at line 91 of file lcd_protocol.h.