![]() |
LPCOpen Platform
v1.03
LPCOpen Platform for NXP LPC Microcontrollers
|
#include "lpc_types.h"Go to the source code of this file.
Macros | |
| #define | COLORS_DEF 16 /* 16-bit 565 color mode */ |
| #define | COLORS_8_565_MODE |
| #define | BLACK 0x0000 |
| #define | LIGHTGRAY 0X7BEF |
| #define | DARKGRAY 0x39E7 |
| #define | WHITE 0xffff |
| #define | RED 0xF800 |
| #define | GREEN 0x07E0 |
| #define | BLUE 0x001F |
| #define | LIGHTRED 0x7800 |
| #define | LIGHTGREEN 0x03E0 |
| #define | LIGHTBLUE 0x000F |
| #define | MINRED 0x0800 |
| #define | MINGREEN 0x0020 |
| #define | MINBLUE 0x0001 |
| #define | REDMASK 0xF800 |
| #define | REDSHIFT 11 |
| #define | GREENMASK 0x07E0 |
| #define | GREENSHIFT 5 |
| #define | BLUEMASK 0x001F |
| #define | BLUESHIFT 0 |
| #define | NUM_COLORS 65536 |
| #define | RED_COLORS 0x20 |
| #define | GREEN_COLORS 0x40 |
| #define | BLUE_COLORS 0x20 |
Typedefs | |
| typedef uint16_t | COLOR_T |
Functions | |
| void | lpc_colors_set_palette (uint16_t *palette_table) |
| Generate a palette table (only in 8-bit mode) | |