Motorola MPC823e Reference Manual page 1029

Microprocessor for mobile computing
Table of Contents

Advertisement

LCD Controller
18.4.7.2 TWO BITS PER PIXEL GRAYSCALE MODE. In 2-bits per pixel grayscale mode,
the LCD controller provides four possible shades to be loaded into each pixel of the LCD
panel. The two bits of data are provided by each display memory word that is accessed by
the DMA controller. This value will then index into the color RAM at addresses 1, 3, 5, and
7. You can provide any four of 16 possible shades by loading the color RAM addresses
shown below.
BIT
0
1
2
FIELD
RESET
R/W
ADDR
NOTE: — = Undefined.
Bits 0–7—Reserved
These bits are reserved and must be set to 0.
GLCA/GLCB—Grayscale Level Code A and B
This field is a 4-bit code that represents the grayscale level for a given pixel code. GLCA and
GLCB must be programmed to the same value. The 4-bit code must be programmed in one
of the following ways:
• Program address 1 of the color RAM with the grayscale level code that corresponds to
pixel code 00 that was retrieved from display memory.
• Program address 3 of the color RAM with the grayscale level code that corresponds to
pixel code 01 that was retrieved from display memory.
• Program address 5 of the color RAM with the grayscale level code that corresponds to
pixel code 10 that was retrieved from display memory.
• Program address 7 of the color RAM with the grayscale level code that corresponds to
pixel code 11 that was retrieved from display memory.
Figure 18-14. Color RAM Entries for Two Bits Per Pixel Mode
18-32
3
4
5
6
7
RESERVED
R/W
(IMMR & 0xFFFF0000) + (DPR) 0xE00—0xE07
GLCB
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0
0
0
0
0
0
0
0
4
0
0
0
0
0
0
0
0
6
MPC823e REFERENCE MANUAL
8
9
10
11
12
GLCB
R/W
GLCA
1
3
5
7
13
14
15
GLCA
R/W
MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents