fix for ILI9325
Fork of TFTLCD by
Diff: ili9328.h
- Revision:
- 28:45e8aa1fc420
- Parent:
- 24:ac6e35658037
--- a/ili9328.h Mon Jul 22 01:48:06 2013 +0000 +++ b/ili9328.h Sun Jul 12 03:16:20 2015 +0000 @@ -181,6 +181,52 @@ DigitalOut* _lcd_pin_rd; }; +#define ILI932X_DRIV_OUT_CTRL 0x01 +#define ILI932X_DRIV_WAV_CTRL 0x02 +#define ILI932X_ENTRY_MOD 0x03 +#define ILI932X_RESIZE_CTRL 0x04 +#define ILI932X_DISP_CTRL1 0x07 +#define ILI932X_DISP_CTRL2 0x08 +#define ILI932X_DISP_CTRL3 0x09 +#define ILI932X_DISP_CTRL4 0x0A +#define ILI932X_RGB_DISP_IF_CTRL1 0x0C +#define ILI932X_FRM_MARKER_POS 0x0D +#define ILI932X_RGB_DISP_IF_CTRL2 0x0F +#define ILI932X_POW_CTRL1 0x10 +#define ILI932X_POW_CTRL2 0x11 +#define ILI932X_POW_CTRL3 0x12 +#define ILI932X_POW_CTRL4 0x13 +#define ILI932X_GRAM_HOR_AD 0x20 +#define ILI932X_GRAM_VER_AD 0x21 +#define ILI932X_RW_GRAM 0x22 +#define ILI932X_POW_CTRL7 0x29 +#define ILI932X_FRM_RATE_COL_CTRL 0x2B +#define ILI932X_GAMMA_CTRL1 0x30 +#define ILI932X_GAMMA_CTRL2 0x31 +#define ILI932X_GAMMA_CTRL3 0x32 +#define ILI932X_GAMMA_CTRL4 0x35 +#define ILI932X_GAMMA_CTRL5 0x36 +#define ILI932X_GAMMA_CTRL6 0x37 +#define ILI932X_GAMMA_CTRL7 0x38 +#define ILI932X_GAMMA_CTRL8 0x39 +#define ILI932X_GAMMA_CTRL9 0x3C +#define ILI932X_GAMMA_CTRL10 0x3D +#define ILI932X_HOR_END_AD 0x51 +#define ILI932X_VER_START_AD 0x52 +#define ILI932X_VER_END_AD 0x53 +#define ILI932X_GATE_SCAN_CTRL1 0x60 +#define ILI932X_GATE_SCAN_CTRL2 0x61 +#define ILI932X_GATE_SCAN_CTRL3 0x6A +#define ILI932X_PART_IMG1_DISP_POS 0x80 +#define ILI932X_PART_IMG1_START_AD 0x81 +#define ILI932X_PART_IMG1_END_AD 0x82 +#define ILI932X_PART_IMG2_DISP_POS 0x83 +#define ILI932X_PART_IMG2_START_AD 0x84 +#define ILI932X_PART_IMG2_END_AD 0x85 +#define ILI932X_PANEL_IF_CTRL1 0x90 +#define ILI932X_PANEL_IF_CTRL2 0x92 +#define ILI932X_PANEL_IF_CTRL4 0x95 + #ifdef __cplusplus } #endif