Programming Model
LCD Controller 8-11
8.3.2 LCD Virtual Page Width Register
The LCD virtual page width (LVPW) register contains the width of the displayed image. The bit
assignments for the register are shown in the fo ll owing register display. The settings for the bits in the
register are listed in Table8-3.

LVPW LCD Virtual Page Widt h Register 0x(FF)FFFA05

8.3.3 LCD Screen Width Register
The LCD screen width register (LXMAX) is used to specify the width of the LCD panel ’s sc reen i n pixe ls.
This register must be a multiple of 16. The bit assignments for the register are shown in the following
register display. The settings for the bits in the register are listed in Table8-4.

LXMAX LCD Screen Width Register 0x(FF)FFFA08

BIT 7 6 5 4 3 2 1 BIT 0
VP8 VP7 VP6 VP5 VP4 VP3 VP2 VP1
TYPE rw rw rw rw rw rw rw rw
RESET 11111111
0xFF
Table 8-3. LCD Virtual Page Width Register Description
Name Description Setting
VPx
Bits 7–0 Virtual Page Width 8–1—These bits specify the virtual page width of the LCD panel
in terms of word count. The virtual page width is the virtual width in pixels divided by
16 for a black-and-white display, by 8 for a 4-grayscale display, and by 4 for a
16-grayscale display.
See descrip-
tion
BIT 151413121110987654321BIT 0
XM9 XM8 XM7 XM6 XM5 XM4
TYPE rw rw rw rw rw rw
RESET 0 000001111110000
0x03F0
Table 8-4. LCD Screen Width Register Description
Name Description Setting
Reserved
Bits 15–10 Reserved These bits are reserved and
should be set to 0.
XMx
Bits 9–4 Maximum Width 9–4—These bits represent th e wi dth of the L CD
panel in the number of pixels. See des cription.
Reserved
Bits 3���0 Reserved These bits are reserved and
should be set to 0.