VSF Documented
Macros
GLCD_Config.h File Reference

Go to the source code of this file.

Macros

#define GLCD_MIRROR_X   0 /* Mirror X axis = 1:yes, 0:no */
 
#define GLCD_MIRROR_Y   1 /* Mirror Y axis = 1:yes, 0:no */
 
#define GLCD_SWAP_XY   1 /* Swap X&Y axis = 1:yes, 0:no */
 
#define GLCD_SIZE_X   240 /* Screen size X (in pixels) */
 
#define GLCD_SIZE_Y   320 /* Screen size Y (in pixels) */
 
#define GLCD_BPP   16 /* Bits per pixel */
 
#define GLCD_WIDTH   GLCD_SIZE_X /* Screen Width (in pixels) */
 
#define GLCD_HEIGHT   GLCD_SIZE_Y /* Screen Height (in pixels) */
 
#define GLCD_COLOR_BLACK   0x0000 /* 0, 0, 0 */
 
#define GLCD_COLOR_NAVY   0x000F /* 0, 0, 128 */
 
#define GLCD_COLOR_DARK_GREEN   0x03E0 /* 0, 128, 0 */
 
#define GLCD_COLOR_DARK_CYAN   0x03EF /* 0, 128, 128 */
 
#define GLCD_COLOR_MAROON   0x7800 /* 128, 0, 0 */
 
#define GLCD_COLOR_PURPLE   0x780F /* 128, 0, 128 */
 
#define GLCD_COLOR_OLIVE   0x7BE0 /* 128, 128, 0 */
 
#define GLCD_COLOR_LIGHT_GREY   0xC618 /* 192, 192, 192 */
 
#define GLCD_COLOR_DARK_GREY   0x7BEF /* 128, 128, 128 */
 
#define GLCD_COLOR_BLUE   0x001F /* 0, 0, 255 */
 
#define GLCD_COLOR_GREEN   0x07E0 /* 0, 255, 0 */
 
#define GLCD_COLOR_CYAN   0x07FF /* 0, 255, 255 */
 
#define GLCD_COLOR_RED   0xF800 /* 255, 0, 0 */
 
#define GLCD_COLOR_MAGENTA   0xF81F /* 255, 0, 255 */
 
#define GLCD_COLOR_YELLOW   0xFFE0 /* 255, 255, 0 */
 
#define GLCD_COLOR_WHITE   0xFFFF /* 255, 255, 255 */
 

Macro Definition Documentation

◆ GLCD_MIRROR_X

#define GLCD_MIRROR_X   0 /* Mirror X axis = 1:yes, 0:no */

◆ GLCD_MIRROR_Y

#define GLCD_MIRROR_Y   1 /* Mirror Y axis = 1:yes, 0:no */

◆ GLCD_SWAP_XY

#define GLCD_SWAP_XY   1 /* Swap X&Y axis = 1:yes, 0:no */

◆ GLCD_SIZE_X

#define GLCD_SIZE_X   240 /* Screen size X (in pixels) */

◆ GLCD_SIZE_Y

#define GLCD_SIZE_Y   320 /* Screen size Y (in pixels) */

◆ GLCD_BPP

#define GLCD_BPP   16 /* Bits per pixel */

◆ GLCD_WIDTH

#define GLCD_WIDTH   GLCD_SIZE_X /* Screen Width (in pixels) */

◆ GLCD_HEIGHT

#define GLCD_HEIGHT   GLCD_SIZE_Y /* Screen Height (in pixels) */

◆ GLCD_COLOR_BLACK

#define GLCD_COLOR_BLACK   0x0000 /* 0, 0, 0 */

◆ GLCD_COLOR_NAVY

#define GLCD_COLOR_NAVY   0x000F /* 0, 0, 128 */

◆ GLCD_COLOR_DARK_GREEN

#define GLCD_COLOR_DARK_GREEN   0x03E0 /* 0, 128, 0 */

◆ GLCD_COLOR_DARK_CYAN

#define GLCD_COLOR_DARK_CYAN   0x03EF /* 0, 128, 128 */

◆ GLCD_COLOR_MAROON

#define GLCD_COLOR_MAROON   0x7800 /* 128, 0, 0 */

◆ GLCD_COLOR_PURPLE

#define GLCD_COLOR_PURPLE   0x780F /* 128, 0, 128 */

◆ GLCD_COLOR_OLIVE

#define GLCD_COLOR_OLIVE   0x7BE0 /* 128, 128, 0 */

◆ GLCD_COLOR_LIGHT_GREY

#define GLCD_COLOR_LIGHT_GREY   0xC618 /* 192, 192, 192 */

◆ GLCD_COLOR_DARK_GREY

#define GLCD_COLOR_DARK_GREY   0x7BEF /* 128, 128, 128 */

◆ GLCD_COLOR_BLUE

#define GLCD_COLOR_BLUE   0x001F /* 0, 0, 255 */

◆ GLCD_COLOR_GREEN

#define GLCD_COLOR_GREEN   0x07E0 /* 0, 255, 0 */

◆ GLCD_COLOR_CYAN

#define GLCD_COLOR_CYAN   0x07FF /* 0, 255, 255 */

◆ GLCD_COLOR_RED

#define GLCD_COLOR_RED   0xF800 /* 255, 0, 0 */

◆ GLCD_COLOR_MAGENTA

#define GLCD_COLOR_MAGENTA   0xF81F /* 255, 0, 255 */

◆ GLCD_COLOR_YELLOW

#define GLCD_COLOR_YELLOW   0xFFE0 /* 255, 255, 0 */

◆ GLCD_COLOR_WHITE

#define GLCD_COLOR_WHITE   0xFFFF /* 255, 255, 255 */