Go to the documentation of this file. 1 #ifndef __SSD1963_CMD_H__
2 #define __SSD1963_CMD_H__
80 #define CMD_SOFT_RESET 0x01
81 #define CMD_GET_PWR_MODE 0x0A
82 #define CMD_GET_ADDR_MODE 0x0B
84 #define CMD_GET_PIXEL_FORMAT 0x0C
85 #define CMD_GET_DISPLAY_MODE 0x0D
86 #define CMD_GET_SIGNAL_MODE 0x0E
87 #define CMD_GET_DIAGNOSTIC 0x0F
88 #define CMD_ENT_SLEEP 0x10
89 #define CMD_EXIT_SLEEP 0x11
90 #define CMD_ENT_PARTIAL_MODE 0x12
91 #define CMD_ENT_NORMAL_MODE 0x13
92 #define CMD_EXIT_INVERT_MODE 0x20
93 #define CMD_ENT_INVERT_MODE 0x21
94 #define CMD_SET_GAMMA 0x26
95 #define CMD_BLANK_DISPLAY 0x28
96 #define CMD_ON_DISPLAY 0x29
97 #define CMD_SET_COLUMN 0x2A
98 #define CMD_SET_PAGE 0x2B
99 #define CMD_WR_MEMSTART 0x2C
100 #define CMD_RD_MEMSTART 0x2E
101 #define CMD_SET_PARTIAL_AREA 0x30
102 #define CMD_SET_SCROLL_AREA 0x33
103 #define CMD_SET_TEAR_OFF 0x34
105 #define CMD_SET_TEAR_ON 0x35
107 #define CMD_SET_ADDR_MODE 0x36
109 #define CMD_SET_SCROLL_START 0x37
110 #define CMD_EXIT_IDLE_MODE 0x38
111 #define CMD_ENT_IDLE_MODE 0x39
112 #define CMD_SET_PIXEL_FORMAT 0x3A
114 #define CMD_WR_MEM_AUTO 0x3C
115 #define CMD_RD_MEM_AUTO 0x3E
116 #define CMD_SET_TEAR_SCANLINE 0x44
117 #define CMD_GET_SCANLINE 0x45
118 #define CMD_RD_DDB_START 0xA1
119 #define CMD_RD_DDB_AUTO 0xA8
120 #define CMD_SET_PANEL_MODE 0xB0
121 #define CMD_GET_PANEL_MODE 0xB1
122 #define CMD_SET_HOR_PERIOD 0xB4
123 #define CMD_GET_HOR_PERIOD 0xB5
124 #define CMD_SET_VER_PERIOD 0xB6
125 #define CMD_GET_VER_PERIOD 0xB7
126 #define CMD_SET_GPIO_CONF 0xB8
127 #define CMD_GET_GPIO_CONF 0xB9
128 #define CMD_SET_GPIO_VAL 0xBA
129 #define CMD_GET_GPIO_STATUS 0xBB
130 #define CMD_SET_POST_PROC 0xBC
131 #define CMD_GET_POST_PROC 0xBD
132 #define CMD_SET_PWM_CONF 0xBE
133 #define CMD_GET_PWM_CONF 0xBF
134 #define CMD_SET_LCD_GEN0 0xC0
135 #define CMD_GET_LCD_GEN0 0xC1
136 #define CMD_SET_LCD_GEN1 0xC2
137 #define CMD_GET_LCD_GEN1 0xC3
138 #define CMD_SET_LCD_GEN2 0xC4
139 #define CMD_GET_LCD_GEN2 0xC5
140 #define CMD_SET_LCD_GEN3 0xC6
141 #define CMD_GET_LCD_GEN3 0xC7
142 #define CMD_SET_GPIO0_ROP 0xC8
143 #define CMD_GET_GPIO0_ROP 0xC9
144 #define CMD_SET_GPIO1_ROP 0xCA
145 #define CMD_GET_GPIO1_ROP 0xCB
146 #define CMD_SET_GPIO2_ROP 0xCC
147 #define CMD_GET_GPIO2_ROP 0xCD
148 #define CMD_SET_GPIO3_ROP 0xCE
149 #define CMD_GET_GPIO3_ROP 0xCF
150 #define CMD_SET_ABC_DBC_CONF 0xD0
151 #define CMD_GET_ABC_DBC_CONF 0xD1
152 #define CMD_SET_DBC_HISTO_PTR 0xD2
153 #define CMD_GET_DBC_HISTO_PTR 0xD3
154 #define CMD_SET_DBC_THRES 0xD4
155 #define CMD_GET_DBC_THRES 0xD5
156 #define CMD_SET_ABM_TMR 0xD6
157 #define CMD_GET_ABM_TMR 0xD7
158 #define CMD_SET_AMB_LVL0 0xD8
159 #define CMD_GET_AMB_LVL0 0xD9
160 #define CMD_SET_AMB_LVL1 0xDA
161 #define CMD_GET_AMB_LVL1 0xDB
162 #define CMD_SET_AMB_LVL2 0xDC
163 #define CMD_GET_AMB_LVL2 0xDD
164 #define CMD_SET_AMB_LVL3 0xDE
165 #define CMD_GET_AMB_LVL3 0xDF
166 #define CMD_PLL_START 0xE0
167 #define CMD_PLL_STOP 0xE1
168 #define CMD_SET_PLL_MN 0xE2
169 #define CMD_GET_PLL_MN 0xE3
170 #define CMD_GET_PLL_STATUS 0xE4
171 #define CMD_ENT_DEEP_SLEEP 0xE5
172 #define CMD_SET_PCLK 0xE6
174 #define CMD_GET_PCLK 0xE7
176 #define CMD_SET_DATA_INTERFACE 0xF0
177 #define CMD_GET_DATA_INTERFACE 0xF1
179 #define SSD1963_PDI_8BIT 0
180 #define SSD1963_PDI_12BIT 1
181 #define SSD1963_PDI_16BIT 2
182 #define SSD1963_PDI_16BIT565 3
183 #define SSD1963_PDI_18BIT 4
184 #define SSD1963_PDI_24BIT 5
185 #define SSD1963_PDI_9BIT 6