Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

QVGA Color Definitions
[QVGA Display Library]

Defines


Detailed Description

Common color definitions coded as 565, on comment RGB 24 bit

Define Documentation

#define gxRGB r,
g,
 )     (((r) >> 3) << 11) | (((g) >> 2) << 5) | (((b) >> 3) & 0x1F)
 

Macro that convert from RGB 24 bit to RGB 16 bit 565 coded.

#define TFT_BLACK   0x0000
 

0, 0, 0

#define TFT_BLUE   0x001F
 

0, 0, 255

#define TFT_CYAN   0x07FF
 

0, 255, 255

#define TFT_DARK_BLUE   0x0010
 

0, 0, 128

#define TFT_DARK_CYAN   0x03EF
 

0, 128, 128

#define TFT_DARK_GRAY   0x7BEF
 

128, 128, 128

#define TFT_DARK_GREEN   0x03E0
 

0, 128, 0

#define TFT_GREEN   0x07E0
 

0, 255, 0

#define TFT_LIGHT_GRAY   0xC618
 

192, 192, 192

#define TFT_MAGENTA   0xF81F
 

255, 0, 255

#define TFT_MAROON   0x7800
 

128, 0, 0

#define TFT_NAVY   0x000F
 

0, 0, 128

#define TFT_OLIVE   0x7BE0
 

128, 128, 0

#define TFT_PURPLE   0x780F
 

128, 0, 128

#define TFT_RED   0xF800
 

255, 0, 0

#define TFT_WHITE   0xFFFF
 

255, 255, 255

#define TFT_YELLOW   0xFFE0
 

255, 255, 0


Generated on Tue Apr 7 20:07:45 2015 for BF592A Library by doxygen 1.3.1