SAMV71 Xplained Ultra Software Package 1.4

ili9488_reg.h

00001 /* ----------------------------------------------------------------------------
00002  *         SAM Software Package License
00003  * ----------------------------------------------------------------------------
00004  * Copyright (c) 2011, Atmel Corporation
00005  *
00006  * All rights reserved.
00007  *
00008  * Redistribution and use in source and binary forms, with or without
00009  * modification, are permitted provided that the following conditions are met:
00010  *
00011  * - Redistributions of source code must retain the above copyright notice,
00012  * this list of conditions and the disclaimer below.
00013  *
00014  * Atmel's name may not be used to endorse or promote products derived from
00015  * this software without specific prior written permission.
00016  *
00017  * DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR
00018  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
00019  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
00020  * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT,
00021  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
00022  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
00023  * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
00024  * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
00025  * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
00026  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00027  * ----------------------------------------------------------------------------
00028  */
00029 
00030 #ifndef ILI9488_REG_H_INCLUDED
00031 #define ILI9488_REG_H_INCLUDED
00032 
00033 /* Level 1 Commands (from the display Datasheet) */
00034 #define ILI9488_CMD_NOP                             0x00
00035 #define ILI9488_CMD_SOFTWARE_RESET                  0x01
00036 #define ILI9488_CMD_READ_DISP_ID                    0x04
00037 #define ILI9488_CMD_READ_ERROR_DSI                  0x05
00038 #define ILI9488_CMD_READ_DISP_STATUS                0x09
00039 #define ILI9488_CMD_READ_DISP_POWER_MODE            0x0A
00040 #define ILI9488_CMD_READ_DISP_MADCTRL               0x0B
00041 #define ILI9488_CMD_READ_DISP_PIXEL_FORMAT          0x0C
00042 #define ILI9488_CMD_READ_DISP_IMAGE_MODE            0x0D
00043 #define ILI9488_CMD_READ_DISP_SIGNAL_MODE           0x0E
00044 #define ILI9488_CMD_READ_DISP_SELF_DIAGNOSTIC       0x0F
00045 #define ILI9488_CMD_ENTER_SLEEP_MODE                0x10
00046 #define ILI9488_CMD_SLEEP_OUT                       0x11
00047 #define ILI9488_CMD_PARTIAL_MODE_ON                 0x12
00048 #define ILI9488_CMD_NORMAL_DISP_MODE_ON             0x13
00049 #define ILI9488_CMD_DISP_INVERSION_OFF              0x20
00050 #define ILI9488_CMD_DISP_INVERSION_ON               0x21
00051 #define ILI9488_CMD_PIXEL_OFF                       0x22
00052 #define ILI9488_CMD_PIXEL_ON                        0x23
00053 #define ILI9488_CMD_DISPLAY_OFF                     0x28
00054 #define ILI9488_CMD_DISPLAY_ON                      0x29
00055 #define ILI9488_CMD_COLUMN_ADDRESS_SET              0x2A
00056 #define ILI9488_CMD_PAGE_ADDRESS_SET                0x2B
00057 #define ILI9488_CMD_MEMORY_WRITE                    0x2C
00058 #define ILI9488_CMD_MEMORY_READ                     0x2E
00059 #define ILI9488_CMD_PARTIAL_AREA                    0x30
00060 #define ILI9488_CMD_VERT_SCROLL_DEFINITION          0x33
00061 #define ILI9488_CMD_TEARING_EFFECT_LINE_OFF         0x34
00062 #define ILI9488_CMD_TEARING_EFFECT_LINE_ON          0x35
00063 #define ILI9488_CMD_MEMORY_ACCESS_CONTROL           0x36
00064 #define ILI9488_CMD_VERT_SCROLL_START_ADDRESS       0x37
00065 #define ILI9488_CMD_IDLE_MODE_OFF                   0x38
00066 #define ILI9488_CMD_IDLE_MODE_ON                    0x39
00067 #define ILI9488_CMD_COLMOD_PIXEL_FORMAT_SET         0x3A
00068 #define ILI9488_CMD_WRITE_MEMORY_CONTINUE           0x3C
00069 #define ILI9488_CMD_READ_MEMORY_CONTINUE            0x3E
00070 #define ILI9488_CMD_SET_TEAR_SCANLINE               0x44
00071 #define ILI9488_CMD_GET_SCANLINE                    0x45
00072 #define ILI9488_CMD_WRITE_DISPLAY_BRIGHTNESS        0x51
00073 #define ILI9488_CMD_READ_DISPLAY_BRIGHTNESS         0x52
00074 #define ILI9488_CMD_WRITE_CTRL_DISPLAY              0x53
00075 #define ILI9488_CMD_READ_CTRL_DISPLAY               0x54
00076 #define ILI9488_CMD_WRITE_CONTENT_ADAPT_BRIGHTNESS  0x55
00077 #define ILI9488_CMD_READ_CONTENT_ADAPT_BRIGHTNESS   0x56
00078 #define ILI9488_CMD_WRITE_MIN_CAB_LEVEL             0x5E
00079 #define ILI9488_CMD_READ_MIN_CAB_LEVEL              0x5F
00080 #define ILI9488_CMD_READ_ABC_SELF_DIAG_RES          0x68
00081 #define ILI9488_CMD_READ_ID1                        0xDA
00082 #define ILI9488_CMD_READ_ID2                        0xDB
00083 #define ILI9488_CMD_READ_ID3                        0xDC
00084 
00085 /* Level 2 Commands (from the display Datasheet) */
00086 #define ILI9488_CMD_INTERFACE_MODE_CONTROL          0xB0
00087 #define ILI9488_CMD_FRAME_RATE_CONTROL_NORMAL       0xB1
00088 #define ILI9488_CMD_FRAME_RATE_CONTROL_IDLE_8COLOR  0xB2
00089 #define ILI9488_CMD_FRAME_RATE_CONTROL_PARTIAL      0xB3
00090 #define ILI9488_CMD_DISPLAY_INVERSION_CONTROL       0xB4
00091 #define ILI9488_CMD_BLANKING_PORCH_CONTROL          0xB5
00092 #define ILI9488_CMD_DISPLAY_FUNCTION_CONTROL        0xB6
00093 #define ILI9488_CMD_ENTRY_MODE_SET                  0xB7
00094 #define ILI9488_CMD_BACKLIGHT_CONTROL_1             0xB9
00095 #define ILI9488_CMD_BACKLIGHT_CONTROL_2             0xBA
00096 #define ILI9488_CMD_HS_LANES_CONTROL                0xBE
00097 #define ILI9488_CMD_POWER_CONTROL_1                 0xC0
00098 #define ILI9488_CMD_POWER_CONTROL_2                 0xC1
00099 #define ILI9488_CMD_POWER_CONTROL_NORMAL_3          0xC2
00100 #define ILI9488_CMD_POWER_CONTROL_IDEL_4            0xC3
00101 #define ILI9488_CMD_POWER_CONTROL_PARTIAL_5         0xC4
00102 #define ILI9488_CMD_VCOM_CONTROL_1                  0xC5
00103 #define ILI9488_CMD_CABC_CONTROL_1                  0xC6
00104 #define ILI9488_CMD_CABC_CONTROL_2                  0xC8
00105 #define ILI9488_CMD_CABC_CONTROL_3                  0xC9
00106 #define ILI9488_CMD_CABC_CONTROL_4                  0xCA
00107 #define ILI9488_CMD_CABC_CONTROL_5                  0xCB
00108 #define ILI9488_CMD_CABC_CONTROL_6                  0xCC
00109 #define ILI9488_CMD_CABC_CONTROL_7                  0xCD
00110 #define ILI9488_CMD_CABC_CONTROL_8                  0xCE
00111 #define ILI9488_CMD_CABC_CONTROL_9                  0xCF
00112 #define ILI9488_CMD_NVMEM_WRITE                     0xD0
00113 #define ILI9488_CMD_NVMEM_PROTECTION_KEY            0xD1
00114 #define ILI9488_CMD_NVMEM_STATUS_READ               0xD2
00115 #define ILI9488_CMD_READ_ID4                        0xD3
00116 #define ILI9488_CMD_ADJUST_CONTROL_1                0xD7
00117 #define ILI9488_CMD_READ_ID_VERSION                 0xD8
00118 #define ILI9488_CMD_POSITIVE_GAMMA_CORRECTION       0xE0
00119 #define ILI9488_CMD_NEGATIVE_GAMMA_CORRECTION       0xE1
00120 #define ILI9488_CMD_DIGITAL_GAMMA_CONTROL_1         0xE2
00121 #define ILI9488_CMD_DIGITAL_GAMMA_CONTROL_2         0xE3
00122 #define ILI9488_CMD_SET_IMAGE_FUNCTION              0xE9
00123 #define ILI9488_CMD_ADJUST_CONTROL_2                0xF2
00124 #define ILI9488_CMD_ADJUST_CONTROL_3                0xF7
00125 #define ILI9488_CMD_ADJUST_CONTROL_4                0xF8
00126 #define ILI9488_CMD_ADJUST_CONTROL_5                0xF9
00127 #define ILI9488_CMD_SPI_READ_SETTINGS               0xFB
00128 #define ILI9488_CMD_ADJUST_CONTROL_6                0xFC
00129 #define ILI9488_CMD_ADJUST_CONTROL_7                0xFF
00130 
00131 #endif /* ILI9488_REGS_H_INCLUDED */
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines