Project 5
Character Liquid-Crystal Display
|
Neff Site |
Header file for the HD44780 controller. More...
Go to the source code of this file.
Macros | |
#define | HD44780_CLEARDISPLAY 0x01 |
#define | HD44780_RETURNHOME 0x02 |
#define | HD44780_ENTRYMODESET 0x04 |
#define | HD44780_INCREMENT 0x02 |
#define | HD44780_DECREMENT 0x00 |
#define | HD44780_SHIFTON 0x01 |
#define | HD44780_SHIFTOFF 0x00 |
#define | HD44780_DISPLAYCONTROL 0x08 |
#define | HD44780_DISPLAYON 0x04 |
#define | HD44780_DISPLAYOFF 0x00 |
#define | HD44780_CURSORON 0x02 |
#define | HD44780_CURSOROFF 0x00 |
#define | HD44780_BLINKON 0x01 |
#define | HD44780_BLINKOFF 0x00 |
#define | HD44780_CURSORCONTROL 0x10 |
#define | HD44780_DISPLAYSHIFT 0x08 |
#define | HD44780_CURSORMOVE 0x00 |
#define | HD44780_RIGHT 0x04 |
#define | HD44780_LEFT 0x00 |
#define | HD44780_FUNCTIONSET 0x20 |
#define | HD44780_8BITMODE 0x10 |
#define | HD44780_4BITMODE 0x00 |
#define | HD44780_2LINES 0x08 |
#define | HD44780_1LINE 0x00 |
#define | HD44780_5x10DOTS 0x04 |
#define | HD44780_5x8DOTS 0x00 |
#define | HD44780_SETCGRAMADDR 0x40 |
#define | HD44780_CGRAMADDR(ADDR) ((ADDR) & 0x3F) |
#define | HD44780_SETDDRAMADDR 0x80 |
#define | HD44780_DDRAMADDR(ADDR) ((ADDR) & 0x7F) |
Header file for the HD44780 controller.
This file defines mnemonics for the opcodes of the HD44780 controller. Please see page 24 of the HD44780 data sheet for the details.
#define HD44780_1LINE 0x00 |
#define HD44780_2LINES 0x08 |
#define HD44780_4BITMODE 0x00 |
#define HD44780_5x10DOTS 0x04 |
#define HD44780_5x8DOTS 0x00 |
#define HD44780_8BITMODE 0x10 |
#define HD44780_BLINKOFF 0x00 |
#define HD44780_BLINKON 0x01 |
#define HD44780_CGRAMADDR | ( | ADDR | ) | ((ADDR) & 0x3F) |
#define HD44780_CLEARDISPLAY 0x01 |
#define HD44780_CURSORCONTROL 0x10 |
#define HD44780_CURSORMOVE 0x00 |
#define HD44780_CURSOROFF 0x00 |
#define HD44780_CURSORON 0x02 |
#define HD44780_DDRAMADDR | ( | ADDR | ) | ((ADDR) & 0x7F) |
#define HD44780_DECREMENT 0x00 |
#define HD44780_DISPLAYCONTROL 0x08 |
#define HD44780_DISPLAYOFF 0x00 |
#define HD44780_DISPLAYON 0x04 |
#define HD44780_DISPLAYSHIFT 0x08 |
#define HD44780_ENTRYMODESET 0x04 |
#define HD44780_FUNCTIONSET 0x20 |
#define HD44780_INCREMENT 0x02 |
#define HD44780_LEFT 0x00 |
#define HD44780_RETURNHOME 0x02 |
#define HD44780_RIGHT 0x04 |
#define HD44780_SETCGRAMADDR 0x40 |
#define HD44780_SETDDRAMADDR 0x80 |
#define HD44780_SHIFTOFF 0x00 |
#define HD44780_SHIFTON 0x01 |
Contact | Generated by 1.8.13 |