Internal config and parameters for the HD44780 display. More...
Internal config and parameters for the HD44780 display.
Definition in file hd44780_internal.h.
Go to the source code of this file.
HD44780 LCD commands | |
#define | HD44780_CLEARDISPLAY (0x01) |
#define | HD44780_RETURNHOME (0x02) |
#define | HD44780_ENTRYMODESET (0x04) |
#define | HD44780_DISPLAYCONTROL (0x08) |
#define | HD44780_CURSORSHIFT (0x10) |
#define | HD44780_FUNCTIONSET (0x20) |
#define | HD44780_SETCGRAMADDR (0x40) |
#define | HD44780_SETDDRAMADDR (0x80) |
HD44780 LCD entry modes flags | |
#define | HD44780_ENTRYRIGHT (0x00) |
#define | HD44780_ENTRYLEFT (0x02) |
#define | HD44780_ENTRYSHIFTINCREMENT (0x01) |
#define | HD44780_ENTRYSHIFTDECREMENT (0x00) |
HD44780 LCD control flags | |
#define | HD44780_DISPLAYON (0x04) |
#define | HD44780_DISPLAYOFF (0x00) |
#define | HD44780_CURSORON (0x02) |
#define | HD44780_CURSOROFF (0x00) |
#define | HD44780_BLINKON (0x01) |
#define | HD44780_BLINKOFF (0x00) |
HD44780 display and cursor shift flags | |
#define | HD44780_DISPLAYMOVE (0x08) |
#define | HD44780_CURSORMOVE (0x00) |
#define | HD44780_MOVERIGHT (0x04) |
#define | HD44780_MOVELEFT (0x00) |
HD44780 LCD functional flags | |
#define | HD44780_8BITMODE (0x10) |
#define | HD44780_4BITMODE (0x00) |
#define | HD44780_2LINE (0x08) |
#define | HD44780_1LINE (0x00) |
#define | HD44780_5x10DOTS (0x04) |
#define | HD44780_5x8DOTS (0x00) |
HD44780 LCD timings | |
#define | HD44780_CMD_WAIT (2000U) |
#define | HD44780_INIT_WAIT_XXL (50000U) |
#define | HD44780_INIT_WAIT_LONG (4500U) |
#define | HD44780_INIT_WAIT_SHORT (150U) |
#define | HD44780_PULSE_WAIT_SHORT (1U) |
#define | HD44780_PULSE_WAIT_LONG (100U) |
#define HD44780_1LINE (0x00) |
Definition at line 79 of file hd44780_internal.h.
#define HD44780_2LINE (0x08) |
Definition at line 78 of file hd44780_internal.h.
#define HD44780_4BITMODE (0x00) |
Definition at line 77 of file hd44780_internal.h.
#define HD44780_5x10DOTS (0x04) |
Definition at line 80 of file hd44780_internal.h.
#define HD44780_5x8DOTS (0x00) |
Definition at line 81 of file hd44780_internal.h.
#define HD44780_8BITMODE (0x10) |
Definition at line 76 of file hd44780_internal.h.
#define HD44780_BLINKOFF (0x00) |
Definition at line 59 of file hd44780_internal.h.
#define HD44780_BLINKON (0x01) |
Definition at line 58 of file hd44780_internal.h.
#define HD44780_CLEARDISPLAY (0x01) |
Definition at line 30 of file hd44780_internal.h.
#define HD44780_CMD_WAIT (2000U) |
Definition at line 88 of file hd44780_internal.h.
#define HD44780_CURSORMOVE (0x00) |
Definition at line 67 of file hd44780_internal.h.
#define HD44780_CURSOROFF (0x00) |
Definition at line 57 of file hd44780_internal.h.
#define HD44780_CURSORON (0x02) |
Definition at line 56 of file hd44780_internal.h.
#define HD44780_CURSORSHIFT (0x10) |
Definition at line 34 of file hd44780_internal.h.
#define HD44780_DISPLAYCONTROL (0x08) |
Definition at line 33 of file hd44780_internal.h.
#define HD44780_DISPLAYMOVE (0x08) |
Definition at line 66 of file hd44780_internal.h.
#define HD44780_DISPLAYOFF (0x00) |
Definition at line 55 of file hd44780_internal.h.
#define HD44780_DISPLAYON (0x04) |
Definition at line 54 of file hd44780_internal.h.
#define HD44780_ENTRYLEFT (0x02) |
Definition at line 45 of file hd44780_internal.h.
#define HD44780_ENTRYMODESET (0x04) |
Definition at line 32 of file hd44780_internal.h.
#define HD44780_ENTRYRIGHT (0x00) |
Definition at line 44 of file hd44780_internal.h.
#define HD44780_ENTRYSHIFTDECREMENT (0x00) |
Definition at line 47 of file hd44780_internal.h.
#define HD44780_ENTRYSHIFTINCREMENT (0x01) |
Definition at line 46 of file hd44780_internal.h.
#define HD44780_FUNCTIONSET (0x20) |
Definition at line 35 of file hd44780_internal.h.
#define HD44780_INIT_WAIT_LONG (4500U) |
Definition at line 90 of file hd44780_internal.h.
#define HD44780_INIT_WAIT_SHORT (150U) |
Definition at line 91 of file hd44780_internal.h.
#define HD44780_INIT_WAIT_XXL (50000U) |
Definition at line 89 of file hd44780_internal.h.
#define HD44780_MOVELEFT (0x00) |
Definition at line 69 of file hd44780_internal.h.
#define HD44780_MOVERIGHT (0x04) |
Definition at line 68 of file hd44780_internal.h.
#define HD44780_PULSE_WAIT_LONG (100U) |
Definition at line 93 of file hd44780_internal.h.
#define HD44780_PULSE_WAIT_SHORT (1U) |
Definition at line 92 of file hd44780_internal.h.
#define HD44780_RETURNHOME (0x02) |
Definition at line 31 of file hd44780_internal.h.
#define HD44780_SETCGRAMADDR (0x40) |
Definition at line 36 of file hd44780_internal.h.
#define HD44780_SETDDRAMADDR (0x80) |
Definition at line 37 of file hd44780_internal.h.