view src/cs/drivers/drv_app/r2d/lcds/luna/colormap.h @ 276:4221c724c664

R2D: preparations for adding LCD hardware suspend handling
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 07 Sep 2021 21:05:38 +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