Register definitions for the AIP31068 I2C LCD controller. More...
Register definitions for the AIP31068 I2C LCD controller.
Definition in file aip31068_regs.h.
#include "bitarithm.h"
Include dependency graph for aip31068_regs.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
| #define | AIP31068_CMD_CLEAR_DISPLAY 0x01 |
| Clears entire display and sets cursor to position (0, 0). More... | |
| #define | AIP31068_CMD_RETURN_HOME 0x02 |
| Sets cursor to position (0, 0) and resets display to original position before any shift operations. | |
| #define | AIP31068_CMD_ENTRY_MODE_SET 0x04 |
| Sets cursor move direction and specifies display shift. | |
| #define | AIP31068_CMD_DISPLAY_CONTROL 0x08 |
| Sets entire display on/off, cursor on/off, and blinking of cursor position character on/off. | |
| #define | AIP31068_CMD_CURSOR_DISPLAY_SHIFT 0x10 |
| Moves cursor and shifts display. | |
| #define | AIP31068_CMD_FUNCTION_SET 0x20 |
| Sets interface data length, number of display lines and character font size. | |
| #define | AIP31068_CMD_SET_CGRAM_ADDR 0x40 |
| Sets CGRAM address. | |
| #define | AIP31068_CMD_SET_DDRAM_ADDR 0x80 |
| Sets DDRAM address. | |
| #define | AIP31068_BIT_ENTRY_MODE_INCREMENT BIT1 |
| 0 = Decrement cursor after insertion 1 = Increment cursor after insertion | |
| #define | AIP31068_BIT_ENTRY_MODE_AUTOINCREMENT BIT0 |
| 0 = No automated display scroll 1 = Automated display scroll | |
| #define | AIP31068_BIT_DISPLAY_CONTROL_DISPLAY BIT2 |
| 0 = Display off 1 = Display on | |
| #define | AIP31068_BIT_DISPLAY_CONTROL_CURSOR BIT1 |
| 0 = Cursor off 1 = Cursor on | |
| #define | AIP31068_BIT_DISPLAY_CONTROL_CURSOR_BLINKING BIT0 |
| 0 = Cursor blinking off 1 = Cursor blinking on | |
| #define | AIP31068_BIT_CURSOR_DISPLAY_SHIFT_SELECTION BIT3 |
| 0 = Shift the cursor position 1 = Scroll the display content | |
| #define | AIP31068_BIT_CURSOR_DISPLAY_SHIFT_DIRECTION BIT2 |
| 0 = Shift to the left 1 = Shift to the right | |
| #define | AIP31068_BIT_FUNCTION_SET_BITMODE BIT4 |
| 0 = 4 bit interface data length 1 = 8 bit interface data length | |
| #define | AIP31068_BIT_FUNCTION_SET_LINECOUNT BIT3 |
| 0 = Single line 1 = Two lines | |
| #define | AIP31068_BIT_FUNCTION_SET_FONTSIZE BIT2 |
| 0 = 5x8 dots per character 1 = 5x10 dots per character | |
| #define | AIP31068_BIT_CONTROL_BYTE_CO BIT7 |
| 0 = Last control byte 1 = Another control byte follows data byte | |
| #define | AIP31068_BIT_CONTROL_BYTE_RS BIT6 |
| 0 = data byte interpreted as command 1 = data byte interpreted as data | |
| #define AIP31068_CMD_CLEAR_DISPLAY 0x01 |
Clears entire display and sets cursor to position (0, 0).
Definition at line 33 of file aip31068_regs.h.