This file contains all the constants parameters for the OTM8009A. More...
#include <cmsis_compiler.h>
Go to the source code of this file.
Classes | |
struct | otm8009a_ctx_t |
Macros | |
#define | OTM8009A_CMD_CASET 0x2A /* Column address set command */ |
#define | OTM8009A_CMD_COLMOD 0x3A /* Interface Pixel format command */ |
#define | OTM8009A_CMD_DISPOFF 0x28 /* Display Off command */ |
#define | OTM8009A_CMD_DISPON 0x29 /* Display On command */ |
#define | OTM8009A_CMD_ID1 0xDA /* Read ID1 command */ |
#define | OTM8009A_CMD_ID2 0xDB /* Read ID2 command */ |
#define | OTM8009A_CMD_ID3 0xDC /* Read ID3 command */ |
#define | OTM8009A_CMD_IDMOFF 0x38 /* Idle mode Off command */ |
#define | OTM8009A_CMD_IDMON 0x39 /* Idle mode On command */ |
#define | OTM8009A_CMD_MADCTR 0x36 /* Memory Access write control command */ |
#define | OTM8009A_CMD_NOP 0x00 /* NOP command */ |
#define | OTM8009A_CMD_PASET 0x2B /* Page address set command */ |
#define | OTM8009A_CMD_PLTAR 0x30 /* Partial area command (4 parameters) */ |
#define | OTM8009A_CMD_PTLON 0x12 /* Partial mode On command */ |
#define | OTM8009A_CMD_RAMRD 0x2E /* Memory (GRAM) read command */ |
#define | OTM8009A_CMD_RAMRDC 0x3E /* Memory read continue command */ |
#define | OTM8009A_CMD_RAMWR 0x2C /* Memory (GRAM) write command */ |
#define | OTM8009A_CMD_RAMWRC 0x3C /* Memory write continue command */ |
#define | OTM8009A_CMD_RDDCOLMOD 0x0C /* Read Display pixel format */ |
#define | OTM8009A_CMD_RDDMADCTL 0x0B /* Read Display MADCTR command : read memory display access ctrl */ |
#define | OTM8009A_CMD_RDSCNL 0x45 /* Read Tearing Effect Scan line command */ |
#define | OTM8009A_CMD_SLPIN 0x10 /* Sleep In command */ |
#define | OTM8009A_CMD_SLPOUT 0x11 /* Sleep Out command */ |
#define | OTM8009A_CMD_SWRESET 0x01 /* Sw reset command */ |
#define | OTM8009A_CMD_TEEON 0x35 /* Tearing Effect Line On command : command with 1 parameter 'TELOM' */ |
#define | OTM8009A_CMD_TEOFF 0x34 /* Tearing Effect Line Off command : command with no parameter */ |
#define | OTM8009A_CMD_WRCABC 0x55 /* Write Content Adaptive Brightness command */ |
#define | OTM8009A_CMD_WRCABCMB 0x5E /* Write CABC Minimum Brightness command */ |
#define | OTM8009A_CMD_WRCTRLD 0x53 /* Write CTRL Display command */ |
#define | OTM8009A_CMD_WRDISBV 0x51 /* Write Display Brightness command */ |
#define | OTM8009A_CMD_WRTESCN 0x44 /* Write Tearing Effect Scan line command */ |
#define | OTM8009A_COLMOD_RGB565 0x55 |
#define | OTM8009A_COLMOD_RGB888 0x77 |
#define | OTM8009A_MADCTR_MODE_LANDSCAPE 0x60 /* MY = 0, MX = 1, MV = 1, ML = 0, RGB = 0 */ |
#define | OTM8009A_MADCTR_MODE_PORTRAIT 0x00 |
#define | OTM8009A_TEEON_TELOM_VBLANKING_AND_HBLANKING_INFO 0x01 |
#define | OTM8009A_TEEON_TELOM_VBLANKING_INFO_ONLY 0x00 |
Typedefs | |
typedef int32_t(* | OTM8009A_Read_Func) (void *, uint16_t, uint8_t *, uint16_t) |
typedef int32_t(* | OTM8009A_Write_Func) (void *, uint16_t, uint8_t *, uint16_t) |
Functions | |
int32_t | otm8009a_read_reg (otm8009a_ctx_t *ctx, uint16_t reg, uint8_t *pdata, uint16_t length) |
int32_t | otm8009a_write_reg (otm8009a_ctx_t *ctx, uint16_t reg, const uint8_t *pdata, uint16_t length) |
This file contains all the constants parameters for the OTM8009A.
This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause
Definition in file otm8009a_reg.h.