view src/cs/drivers/drv_app/r2d/lcds/luna/colormap.h @ 217:6541e43f88e5

R2D display on/off control implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 24 Apr 2021 23:38:18 +0000
parents c905daaff834
children
line wrap: on
line source

/*
 * We have configurations that display B&W logical framebuffers
 * on our physical 16-bit color LCD.  We have a 176x220 pix B&W
 * framebuffer config, which only requires black and white pixels
 * to be defined, and a 96x64 pix B&W framebuffer config which also
 * requires a border pixel color in order to visually delineate
 * the logical LCD inside the physical one.
 */

#define	LCD16_COLOR_BLACK	0x0000
#define	LCD16_COLOR_WHITE	0xFFFF
#define	LCD16_COLOR_BORDER	0x3807