--- /dev/null
+/**\r
+ * \file\r
+ *\r
+ * \brief IL9488 display controller register and bitfield definitions\r
+ *\r
+ * Copyright (c) 2014 Atmel Corporation. All rights reserved.\r
+ *\r
+ * \asf_license_start\r
+ *\r
+ * \page License\r
+ *\r
+ * Redistribution and use in source and binary forms, with or without\r
+ * modification, are permitted provided that the following conditions are met:\r
+ *\r
+ * 1. Redistributions of source code must retain the above copyright notice,\r
+ * this list of conditions and the following disclaimer.\r
+ *\r
+ * 2. Redistributions in binary form must reproduce the above copyright notice,\r
+ * this list of conditions and the following disclaimer in the documentation\r
+ * and/or other materials provided with the distribution.\r
+ *\r
+ * 3. The name of Atmel may not be used to endorse or promote products derived\r
+ * from this software without specific prior written permission.\r
+ *\r
+ * 4. This software may only be redistributed and used in connection with an\r
+ * Atmel microcontroller product.\r
+ *\r
+ * THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR IMPLIED\r
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\r
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE\r
+ * EXPRESSLY AND SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR\r
+ * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\r
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\r
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\r
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,\r
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN\r
+ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\r
+ * POSSIBILITY OF SUCH DAMAGE.\r
+ *\r
+ * \asf_license_stop\r
+ *\r
+ */\r
+#ifndef ILI9488_REG_H_INCLUDED\r
+#define ILI9488_REG_H_INCLUDED\r
+\r
+/* Level 1 Commands (from the display Datasheet) */\r
+#define ILI9488_CMD_NOP 0x00\r
+#define ILI9488_CMD_SOFTWARE_RESET 0x01\r
+#define ILI9488_CMD_READ_DISP_ID 0x04\r
+#define ILI9488_CMD_READ_ERROR_DSI 0x05\r
+#define ILI9488_CMD_READ_DISP_STATUS 0x09\r
+#define ILI9488_CMD_READ_DISP_POWER_MODE 0x0A\r
+#define ILI9488_CMD_READ_DISP_MADCTRL 0x0B\r
+#define ILI9488_CMD_READ_DISP_PIXEL_FORMAT 0x0C\r
+#define ILI9488_CMD_READ_DISP_IMAGE_MODE 0x0D\r
+#define ILI9488_CMD_READ_DISP_SIGNAL_MODE 0x0E\r
+#define ILI9488_CMD_READ_DISP_SELF_DIAGNOSTIC 0x0F\r
+#define ILI9488_CMD_ENTER_SLEEP_MODE 0x10\r
+#define ILI9488_CMD_SLEEP_OUT 0x11\r
+#define ILI9488_CMD_PARTIAL_MODE_ON 0x12\r
+#define ILI9488_CMD_NORMAL_DISP_MODE_ON 0x13\r
+#define ILI9488_CMD_DISP_INVERSION_OFF 0x20\r
+#define ILI9488_CMD_DISP_INVERSION_ON 0x21\r
+#define ILI9488_CMD_PIXEL_OFF 0x22\r
+#define ILI9488_CMD_PIXEL_ON 0x23\r
+#define ILI9488_CMD_DISPLAY_OFF 0x28\r
+#define ILI9488_CMD_DISPLAY_ON 0x29\r
+#define ILI9488_CMD_COLUMN_ADDRESS_SET 0x2A\r
+#define ILI9488_CMD_PAGE_ADDRESS_SET 0x2B\r
+#define ILI9488_CMD_MEMORY_WRITE 0x2C\r
+#define ILI9488_CMD_MEMORY_READ 0x2E\r
+#define ILI9488_CMD_PARTIAL_AREA 0x30\r
+#define ILI9488_CMD_VERT_SCROLL_DEFINITION 0x33\r
+#define ILI9488_CMD_TEARING_EFFECT_LINE_OFF 0x34\r
+#define ILI9488_CMD_TEARING_EFFECT_LINE_ON 0x35\r
+#define ILI9488_CMD_MEMORY_ACCESS_CONTROL 0x36\r
+#define ILI9488_CMD_VERT_SCROLL_START_ADDRESS 0x37\r
+#define ILI9488_CMD_IDLE_MODE_OFF 0x38\r
+#define ILI9488_CMD_IDLE_MODE_ON 0x39\r
+#define ILI9488_CMD_COLMOD_PIXEL_FORMAT_SET 0x3A\r
+#define ILI9488_CMD_WRITE_MEMORY_CONTINUE 0x3C\r
+#define ILI9488_CMD_READ_MEMORY_CONTINUE 0x3E\r
+#define ILI9488_CMD_SET_TEAR_SCANLINE 0x44\r
+#define ILI9488_CMD_GET_SCANLINE 0x45\r
+#define ILI9488_CMD_WRITE_DISPLAY_BRIGHTNESS 0x51\r
+#define ILI9488_CMD_READ_DISPLAY_BRIGHTNESS 0x52\r
+#define ILI9488_CMD_WRITE_CTRL_DISPLAY 0x53\r
+#define ILI9488_CMD_READ_CTRL_DISPLAY 0x54\r
+#define ILI9488_CMD_WRITE_CONTENT_ADAPT_BRIGHTNESS 0x55\r
+#define ILI9488_CMD_READ_CONTENT_ADAPT_BRIGHTNESS 0x56\r
+#define ILI9488_CMD_WRITE_MIN_CAB_LEVEL 0x5E\r
+#define ILI9488_CMD_READ_MIN_CAB_LEVEL 0x5F\r
+#define ILI9488_CMD_READ_ABC_SELF_DIAG_RES 0x68\r
+#define ILI9488_CMD_READ_ID1 0xDA\r
+#define ILI9488_CMD_READ_ID2 0xDB\r
+#define ILI9488_CMD_READ_ID3 0xDC\r
+\r
+/* Level 2 Commands (from the display Datasheet) */\r
+#define ILI9488_CMD_INTERFACE_MODE_CONTROL 0xB0\r
+#define ILI9488_CMD_FRAME_RATE_CONTROL_NORMAL 0xB1\r
+#define ILI9488_CMD_FRAME_RATE_CONTROL_IDLE_8COLOR 0xB2\r
+#define ILI9488_CMD_FRAME_RATE_CONTROL_PARTIAL 0xB3\r
+#define ILI9488_CMD_DISPLAY_INVERSION_CONTROL 0xB4\r
+#define ILI9488_CMD_BLANKING_PORCH_CONTROL 0xB5\r
+#define ILI9488_CMD_DISPLAY_FUNCTION_CONTROL 0xB6\r
+#define ILI9488_CMD_ENTRY_MODE_SET 0xB7\r
+#define ILI9488_CMD_BACKLIGHT_CONTROL_1 0xB9\r
+#define ILI9488_CMD_BACKLIGHT_CONTROL_2 0xBA\r
+#define ILI9488_CMD_HS_LANES_CONTROL 0xBE\r
+#define ILI9488_CMD_POWER_CONTROL_1 0xC0\r
+#define ILI9488_CMD_POWER_CONTROL_2 0xC1\r
+#define ILI9488_CMD_POWER_CONTROL_NORMAL_3 0xC2\r
+#define ILI9488_CMD_POWER_CONTROL_IDEL_4 0xC3\r
+#define ILI9488_CMD_POWER_CONTROL_PARTIAL_5 0xC4\r
+#define ILI9488_CMD_VCOM_CONTROL_1 0xC5\r
+#define ILI9488_CMD_CABC_CONTROL_1 0xC6\r
+#define ILI9488_CMD_CABC_CONTROL_2 0xC8\r
+#define ILI9488_CMD_CABC_CONTROL_3 0xC9\r
+#define ILI9488_CMD_CABC_CONTROL_4 0xCA\r
+#define ILI9488_CMD_CABC_CONTROL_5 0xCB\r
+#define ILI9488_CMD_CABC_CONTROL_6 0xCC\r
+#define ILI9488_CMD_CABC_CONTROL_7 0xCD\r
+#define ILI9488_CMD_CABC_CONTROL_8 0xCE\r
+#define ILI9488_CMD_CABC_CONTROL_9 0xCF\r
+#define ILI9488_CMD_NVMEM_WRITE 0xD0\r
+#define ILI9488_CMD_NVMEM_PROTECTION_KEY 0xD1\r
+#define ILI9488_CMD_NVMEM_STATUS_READ 0xD2\r
+#define ILI9488_CMD_READ_ID4 0xD3\r
+#define ILI9488_CMD_ADJUST_CONTROL_1 0xD7\r
+#define ILI9488_CMD_READ_ID_VERSION 0xD8\r
+#define ILI9488_CMD_POSITIVE_GAMMA_CORRECTION 0xE0\r
+#define ILI9488_CMD_NEGATIVE_GAMMA_CORRECTION 0xE1\r
+#define ILI9488_CMD_DIGITAL_GAMMA_CONTROL_1 0xE2\r
+#define ILI9488_CMD_DIGITAL_GAMMA_CONTROL_2 0xE3\r
+#define ILI9488_CMD_SET_IMAGE_FUNCTION 0xE9\r
+#define ILI9488_CMD_ADJUST_CONTROL_2 0xF2\r
+#define ILI9488_CMD_ADJUST_CONTROL_3 0xF7\r
+#define ILI9488_CMD_ADJUST_CONTROL_4 0xF8\r
+#define ILI9488_CMD_ADJUST_CONTROL_5 0xF9\r
+#define ILI9488_CMD_SPI_READ_SETTINGS 0xFB\r
+#define ILI9488_CMD_ADJUST_CONTROL_6 0xFC\r
+#define ILI9488_CMD_ADJUST_CONTROL_7 0xFF\r
+\r
+#endif /* ILI9488_REGS_H_INCLUDED */\r