8-12 MC68VZ328 User’s Manual
Programming Model
8.3.4 LCD Screen Height Register

The LCD screen height register (LYMAX) is used to define the height of the LCD panel’s screen in pixels.

The bit assignments for the register are shown in the fo llowing register display. The settings for the bits in

the register are listed in Table8-5.

LYMAX LCD Screen Height Register 0x(FF)FFFA0A

8.3.5 LCD Cursor X Position Register

The LCD cursor X position (LCXP) register is used to determine the hori zontal pi xel p ositi on of th e cur sor

on the LCD panel. 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-6.

LCXP LCD Cursor X Position Register 0x(FF)FFFA18

BIT 151413121110987654321BIT 0
YM8 YM7 YM6 YM5 YM4 YM3 YM2 YM1 YM0
TYPE rw rw rw rw rw rw rw rw rw
RESET 000000011111111 1
0x01FF
Table 8-5. LCD Screen Height Register Description
Name Description Setting
Reserved
Bits 15–9 Reserved These bits are reserved and
should be set to 0.
YMx
Bits 8–0 Maximum Height 8–0—These bits represent the height of the
LCD panel in the number of pixels, which is equal to YMAX+ 1. See description.
BIT 151413121110987654321BIT 0
CC1 CC0 CX
P9 CX
P8 CX
P7 CX
P6 CX
P5 CX
P4 CX
P3 CX
P2 CX
P1 CXP0
TYPE rw rw rw rw rw rw rw rw rw rw rw rw
RESET 0 0 0000 000000000 0
0x0000
Table 8-6. LCD Cursor X Position Register Description
Name Description Setting
CCx
Bits 15–14 Cursor Control 1 and 0—These bits are used to control
the format of the cursor. 00 = Transparent, cursor is disabled.
01 = Full (black) cursor.
10 = Reversed video.
11 = Full (white) cursor.
Reserved
Bits 13–10 Reserved These bits are reserved and should
be set to 0.