66 #if defined ( __GNUC__ ) 68 #define __weak __attribute__((weak)) 76 #define OTM8009A_ORIENTATION_PORTRAIT ((uint32_t)0x00) 77 #define OTM8009A_ORIENTATION_LANDSCAPE ((uint32_t)0x01) 83 #define OTM8009A_FORMAT_RGB888 ((uint32_t)0x00) 84 #define OTM8009A_FORMAT_RBG565 ((uint32_t)0x02) 91 #define OTM8009A_480X800_WIDTH ((uint16_t)480) 92 #define OTM8009A_480X800_HEIGHT ((uint16_t)800) 95 #define OTM8009A_800X480_WIDTH ((uint16_t)800) 96 #define OTM8009A_800X480_HEIGHT ((uint16_t)480) 101 #define OTM8009A_480X800_HSYNC ((uint16_t)120) 102 #define OTM8009A_480X800_HBP ((uint16_t)120) 103 #define OTM8009A_480X800_HFP ((uint16_t)120) 104 #define OTM8009A_480X800_VSYNC ((uint16_t)12) 105 #define OTM8009A_480X800_VBP ((uint16_t)12) 106 #define OTM8009A_480X800_VFP ((uint16_t)12) 112 #define OTM8009A_800X480_HSYNC OTM8009A_480X800_HSYNC 113 #define OTM8009A_800X480_HBP OTM8009A_480X800_HBP 114 #define OTM8009A_800X480_HFP OTM8009A_480X800_HFP 115 #define OTM8009A_800X480_VSYNC OTM8009A_480X800_VSYNC 116 #define OTM8009A_800X480_VBP OTM8009A_480X800_VBP 117 #define OTM8009A_800X480_VFP OTM8009A_480X800_VFP 123 #define OTM8009A_CMD_NOP 0x00 124 #define OTM8009A_CMD_SWRESET 0x01 125 #define OTM8009A_CMD_RDDMADCTL 0x0B 126 #define OTM8009A_CMD_RDDCOLMOD 0x0C 127 #define OTM8009A_CMD_SLPIN 0x10 128 #define OTM8009A_CMD_SLPOUT 0x11 129 #define OTM8009A_CMD_PTLON 0x12 131 #define OTM8009A_CMD_DISPOFF 0x28 132 #define OTM8009A_CMD_DISPON 0x29 134 #define OTM8009A_CMD_CASET 0x2A 135 #define OTM8009A_CMD_PASET 0x2B 137 #define OTM8009A_CMD_RAMWR 0x2C 138 #define OTM8009A_CMD_RAMRD 0x2E 140 #define OTM8009A_CMD_PLTAR 0x30 142 #define OTM8009A_CMD_TEOFF 0x34 144 #define OTM8009A_CMD_TEEON 0x35 147 #define OTM8009A_TEEON_TELOM_VBLANKING_INFO_ONLY 0x00 148 #define OTM8009A_TEEON_TELOM_VBLANKING_AND_HBLANKING_INFO 0x01 150 #define OTM8009A_CMD_MADCTR 0x36 153 #define OTM8009A_MADCTR_MODE_PORTRAIT 0x00 154 #define OTM8009A_MADCTR_MODE_LANDSCAPE 0x60 156 #define OTM8009A_CMD_IDMOFF 0x38 157 #define OTM8009A_CMD_IDMON 0x39 159 #define OTM8009A_CMD_COLMOD 0x3A 162 #define OTM8009A_COLMOD_RGB565 0x55 163 #define OTM8009A_COLMOD_RGB888 0x77 165 #define OTM8009A_CMD_RAMWRC 0x3C 166 #define OTM8009A_CMD_RAMRDC 0x3E 168 #define OTM8009A_CMD_WRTESCN 0x44 169 #define OTM8009A_CMD_RDSCNL 0x45 172 #define OTM8009A_CMD_WRDISBV 0x51 173 #define OTM8009A_CMD_WRCTRLD 0x53 174 #define OTM8009A_CMD_WRCABC 0x55 175 #define OTM8009A_CMD_WRCABCMB 0x5E 180 #define OTM8009A_480X800_FREQUENCY_DIVIDER 2 202 uint8_t
OTM8009A_Init(uint32_t ColorCoding, uint32_t orientation);
void DSI_IO_WriteCmd(uint32_t NbrParams, uint8_t *pParams)
DCS or Generic short/long write command.
void OTM8009A_IO_Delay(uint32_t Delay)
OTM8009A delay.
uint8_t OTM8009A_Init(uint32_t ColorCoding, uint32_t orientation)
Initializes the LCD KoD display part by communication in DSI mode in Video Mode with IC Display Drive...