LCD Registers
13.4.7 Precedence Order for Determining Frame Buffer Type
The precedence order for determining frame buffer type is specified as follows:
If (cfg_lcdtft == 1)
// active matrix
If (cfg_tft24 == 1)
// 24 bpp
If (cfg_tft24_unpacked == 1)
4 pixels in 4 words
else
4 pixels in 3 words
else
// 1/2/4/8/12/16 bpp
if (bpp[2] == 1)
12/16 bpp data
else
if (bpp == 0)
1 bpp data
else if (bpp == 1)
2 bpp data
else if (bpp == 2)
4 bpp data
else //
if (bpp == 3)
8 bpp data
else
// passive matrix
if (bpp[2] == 1)
12/16 bpp data
else
if (bpp == 0)
1 bpp data
else if (bpp == 1)
2 bpp data
else if (bpp == 2)
4 bpp data
else //
if (bpp == 3)
8 bpp data
13.5 LCD Registers
lists the memory-mapped registers for the LCD. All register offset addresses not listed in
should be considered as reserved locations and the register contents should not be modified.
Table 13-13. LCD REGISTERS
Offset
Acronym
Register Name
Section
0h
PID
4h
CTRL
Ch
LIDD_CTRL
10h
LIDD_CS0_CONF
14h
LIDD_CS0_ADDR
18h
LIDD_CS0_DATA
1Ch
LIDD_CS1_CONF
20h
LIDD_CS1_ADDR
24h
LIDD_CS1_DATA
28h
RASTER_CTRL
2Ch
RASTER_TIMING_0
30h
RASTER_TIMING_1
34h
RASTER_TIMING_2
38h
RASTER_SUBPANEL
3Ch
RASTER_SUBPANEL2
40h
LCDDMA_CTRL
44h
LCDDMA_FB0_BASE
48h
LCDDMA_FB0_CEILING
1128LCD Controller
SPRUH73H – October 2011 – Revised April 2013
Copyright © 2011–2013, Texas Instruments Incorporated