English
Language : 

PXD10RM Datasheet, PDF (429/1332 Pages) Freescale Semiconductor, Inc – PXD10 Microcontroller
12.4.8 Gamma correction
The gamma table allows the user to define an arbitrary transfer function at the output of each color
component. The function (Equation 12-58) is applied to each pixel after all blending is complete and
before the data is driven to the TFT LCD panel. Gamma correction is optional and can be used to adjust
the color output values to match the gamut of a particular TFT LCD panel, or to perform data inversion or
data length reduction on each component.
output_color_component = gamma_table[input_color_component]
Eqn. 12-58
The table is arranged as three separate memory blocks within the DCU memory map; one for each of the
three color components. Each memory block has one entry for every possible 8-bit value and the entries
are stored at 32-bit aligned addresses. This means that the upper 24 bits are not used while reading/writing
the gamma memories. See Figure 12-76 for details of the memory arrangement.
0x0800
RED
Blended
pixel
0x0C00
GREEN
0x1000
BLUE
Gamma
adjusted
pixel
Figure 12-76. Gamma Correction Table Organization
The gamma table can only be read or written when the DCU is not enabled or during the vertical blanking
period.
12.5 Timing, Error and Interrupt Management
The DCU can detect and raise status and error flags when the status of the system changes and when
configuration or operational errors are detected.
Freescale Semiconductor
PXD10 Microcontroller Reference Manual, Rev. 1
Preliminary—Subject to Change Without Notice
12-97