view src/cs/drivers/drv_app/r2d/lcds/c139/colors.h @ 47:502a0a3f6a49

C139 LCD support reinstated in the new way
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 18 Oct 2020 02:03:10 +0000
parents 4e78acac3d88
children
line wrap: on
line source

/*
 * TI's BMI code does not seem to have an existing configuration for small
 * color displays, only large color, large mono and small mono - hence in the
 * present configuration we are telling TI's code that we have a mono display.
 * But the real LCD on the C139 is 16-bit color.  Here we define the physical
 * color values to which TI's black and white will be mapped.
 */

#define	LCD16_COLOR_BLACK	0x0000
#define	LCD16_COLOR_WHITE	0xFFFF