4 lcd screen height register, 5 lcd cursor x position register, Lcd screen height register -12 – Motorola MC68VZ328 User Manual

Page 140: Lcd cursor x position register -12, Table 8-5, Lcd screen height register description -12, Table 8-6, Lcd cursor x position register description -12, Lymax lcd screen height register 0x(ff)fffa0a, Lcxp lcd cursor x position register 0x(ff)fffa18

Advertising
background image

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 following register display. The settings for the bits in
the register are listed in Table 8-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 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

LCD Cursor X Position Register

0x(FF)FFFA18

BIT 15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

BIT 0

YM8

YM7

YM6

YM5

YM4

YM3

YM2

YM1

YM0

TYPE

rw

rw

rw

rw

rw

rw

rw

rw

rw

RESET

0

0

0

0

0

0

0

1

1

1

1

1

1

1

1

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 15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

BIT 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

0

0

0

0

0

0

0

0

0

0

0

0

0

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.

Advertising