Go to the documentation of this file.
87 #define TFT_WIDTH 0ULL
88 #define TFT_HSYNC_BACK_PORCH 0ULL
89 #define TFT_HSYNC_FRONT_PORCH 0ULL
90 #define TFT_HSYNC_PULSE 0ULL
92 #define TFT_HEIGHT 0ULL
93 #define TFT_VSYNC_BACK_PORCH 0ULL
94 #define TFT_VSYNC_FRONT_PORCH 0ULL
95 #define TFT_VSYNC_PULSE 0ULL
99 #define TFT_WIDTH 320ULL
100 #define TFT_HSYNC_BACK_PORCH 40ULL
101 #define TFT_HSYNC_FRONT_PORCH 20ULL
102 #define TFT_HSYNC_PULSE 28ULL
104 #define TFT_HEIGHT 240ULL
105 #define TFT_VSYNC_BACK_PORCH 17ULL
106 #define TFT_VSYNC_FRONT_PORCH 4ULL
107 #define TFT_VSYNC_PULSE 3ULL
111 #define TFT_WIDTH 800ULL
112 #define TFT_HSYNC_BACK_PORCH 30LL
113 #define TFT_HSYNC_FRONT_PORCH 0ULL
114 #define TFT_HSYNC_PULSE 0ULL
116 #define TFT_HEIGHT 480ULL
117 #define TFT_VSYNC_BACK_PORCH 10ULL
118 #define TFT_VSYNC_FRONT_PORCH 0ULL
119 #define TFT_VSYNC_PULSE 0ULL
124 #define TFT_WIDTH 640ULL
125 #define TFT_HSYNC_BACK_PORCH 56ULL
126 #define TFT_HSYNC_FRONT_PORCH 8ULL
127 #define TFT_HSYNC_PULSE 96ULL
129 #define TFT_HEIGHT 480ULL
130 #define TFT_VSYNC_BACK_PORCH 41ULL
131 #define TFT_VSYNC_FRONT_PORCH 2ULL
132 #define TFT_VSYNC_PULSE 2ULL
135 #define TFT_HSYNC_PERIOD (TFT_HSYNC_PULSE + TFT_HSYNC_BACK_PORCH + TFT_WIDTH + TFT_HSYNC_FRONT_PORCH)
136 #define TFT_VSYNC_PERIOD (TFT_VSYNC_PULSE + TFT_VSYNC_BACK_PORCH + TFT_HEIGHT + TFT_VSYNC_FRONT_PORCH)
137 #define TFT_PCLK (TFT_HSYNC_PERIOD * TFT_VSYNC_PERIOD * TFT_FPS)
138 #define LCD_FPR ((TFT_PCLK * 1048576)/100000000)
140 #define WR_HIGH_BYTE(x) (x >> 8)
141 #define WR_LOW_BYTE(x) (x & 0xFF)
143 #define USE_16BIT_PMP
149 #define LCD_HOR_RESOLUTION 320ULL
150 #define LCD_VER_RESOLUTION 240ULL
156 #define LCD_HOR_PULSE_WIDTH 64ULL
157 #define LCD_HOR_BACK_PORCH 96ULL
158 #define LCD_HOR_FRONT_PORCH 48ULL
164 #define LCD_VER_PULSE_WIDTH 2ULL
165 #define LCD_VER_BACK_PORCH 34ULL
166 #define LCD_VER_FRONT_PORCH 11ULL
175 #define HT (LCD_HOR_RESOLUTION + LCD_HOR_PULSE_WIDTH + LCD_HOR_BACK_PORCH + LCD_HOR_FRONT_PORCH)
176 #define HPS (LCD_HOR_PULSE_WIDTH + LCD_HOR_BACK_PORCH)
185 #define VT (LCD_VER_PULSE_WIDTH + LCD_VER_BACK_PORCH + LCD_VER_FRONT_PORCH + LCD_VER_RESOLUTION)
186 #define VSP (LCD_VER_PULSE_WIDTH + LCD_VER_BACK_PORCH)
193 #define SCRN_RIGHT LCD_HOR_RESOLUTION-1
194 #define SCRN_BOTTOM LCD_VER_RESOLUTION-1
199 #define DOTS_PER_CM_X 64
200 #define DOTS_PER_CM_Y 60
208 #define COEFF_PIXELS_MM 1.5