Lcd Screen Height Register; Lcd Cursor X Position Register; Table 8-5 Lcd Screen Height Register Description; Table 8-6 Lcd Cursor X Position Register Description - Motorola MC68VZ328 User Manual

Motorola mc68vz328 integrated processor user's manual
Table of Contents

Advertisement

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 following register display. The settings for the bits in
the register are listed in Table 8-5.
LYMAX
BIT 15
14
TYPE
0
0
RESET
Name
Reserved
Reserved
Bits 15–9
YMx
Maximum Height 8–0—These bits represent the height of the
Bits 8–0
LCD panel in the number of pixels, which is equal to YMAX + 1.
8.3.5

LCD Cursor X Position Register

The LCD cursor X position (LCXP) register is used to determine the horizontal pixel position of the cursor
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 Table 8-6.
LCXP
BIT 15
14
CC1
CC0
TYPE
rw
rw
0
0
RESET
Table 8-6. LCD Cursor X Position Register Description
Name
CCx
Cursor Control 1 and 0—These bits are used to control
Bits 15–14
the format of the cursor.
Reserved
Reserved
Bits 13–10
8-12
LCD Screen Height Register
13
12
11
10
9
YM8
0
0
0
0
0
Table 8-5. LCD Screen Height Register Description
Description
LCD Cursor X Position Register
13
12
11
10
0
0
0
0
Description
MC68VZ328 User's Manual
8
7
6
5
YM7
YM6
YM5
rw
rw
rw
rw
1
1
1
1
0x01FF
9
8
7
6
CX
CX
CX
CX
CX
P9
P8
P7
P6
P5
rw
rw
rw
rw
rw
0
0
0
0
0x0000
00 = Transparent, cursor is disabled.
01 = Full (black) cursor.
10 = Reversed video.
11 = Full (white) cursor.
These bits are reserved and should
be set to 0.
0x(FF)FFFA0A
4
3
2
1
YM4
YM3
YM2
YM1
rw
rw
rw
rw
1
1
1
1
Setting
These bits are reserved and
should be set to 0.
See description.
0x(FF)FFFA18
5
4
3
2
1
CX
CX
CX
CX
P4
P3
P2
P1
rw
rw
rw
rw
0
0
0
0
0
Setting
BIT 0
YM0
rw
1
BIT 0
CXP0
rw
0

Advertisement

Table of Contents
loading

Table of Contents