Texas Instruments Development Kit for TM4C129x,Tiva™ ARM® Cortex™ -M4 Microcontroller DK-TM4C129X DK-TM4C129X 데이터 시트

제품 코드
DK-TM4C129X
다운로드
페이지 2182
26.3.6
Palette
As explained in the previous section, the pixel data is an index of palette entry (when palette is
used). The number of colors supported is given by 2number of BPP. However, due to a limitation
of the grayscaler/ serializer block, fewer grayscales or colors may be supported.
The
PALMODE
field in the LCD Raster Control (LCDRASTRCTL) register affects the palette loading:
■ If
PALMODE
is 0x0 (palette-plus-data mode) or 0x1 (palette-only mode), the palette is loaded by
the DMA engine at the very beginning, which is followed by the loading of pixel data.
■ If
PALMODE
is 0x2 (data-only mode), the palette is not loaded. Instead, the DMA engine loads
the pixel data immediately.
26.3.7
Gray-Scaler/Serializer - Passive (STN) Mode
Once a palette entry is selected from the look-up palette by the pixel data, its content is sent to the
grayscaler/ serializer. If it is monochrome data, it is encoded as 4 bits. If it is color data, it is encoded
as 4 bits (Red), 4 bits (Green), and 4 bits (Blue). These 4-bit values are used to select one of the
16 intensity levels, as shown in Table 13-10. A patented algorithm is used during this processing
to provide an optimized intensity value that matches the eye's visual perception of color/gray
gradations.
26.3.8
Gray-Scaler/Serializer - Active (TFT) Mode
The gray-scaler/serializer is bypassed in this mode.
26.3.9
Color/Grayscale Intensities and Modulation Rates
The following table details the intensities and modulation rates for varying dither values.
Table 26-7. Intensities and Modulation Rates
Modulation Rate (Ratio of ON to
ON+OFF Pixels)
Intensity (0% is White)
Dither Value (4-Bit Value from
Palette)
0
0.0%
0x0
1/7
14.3%
0x1
1/5
20.0%
0x2
1/4
25%
0x3
3/9
33.3%
0x4
2/5
40.0%
0x5
4/9
44.4%
0x6
1/2
50.0%
0x7
5/9
55.6%
0x8
3/5
60.0%
0x9
6/9
66.6%
0xA
3/4
75%
0xB
4/5
80.0%
0xC
6/7
85.7%
0xD
14/15
93.3%
0xE
1
100.0%
0xF
1863
December 13, 2013
Texas Instruments-Advance Information
Tiva
TM4C129XNCZAD Microcontroller