Cirrus Logic EP93xx User Manual
Page 209

DS785UM1
7-27
Copyright 2007 Cirrus Logic
Raster Engine With Analog/LCD Integrated Timing and Interface
EP93xx User’s Guide
7
7
7
CLINS
Six bits select the height of the cursor image. The height is measured in lines and should be
set to a value of one less then the desired number of lines.
CWID
Two bits select the cursor width:
0 0
Width is 1 word or 16 pixels
0
1Width is 2 words or 32 pixels
1 0
Width is 3 words or 48 pixels
1 1
Width is 4 words or 64 pixels
DLNS
Six bits are used in DUAL SCAN mode, where DUAL SCAN mode is selected by writing
DSCAN = ‘1’ to the
register.
7.4.9.1.4 CursorColor1 Register
This register is set to the cursor color value that is used when the pixel color value is a 0x2
(10 binary).
7.4.9.1.5 CursorColor2 Register
This register is set to the cursor color value that is used when the pixel color value is a 0x3
(11 binary).
7.4.9.1.6 CursorXYLoc Register
This register provides the place in the X and Y position of the image where the cursor should
be inserted. The X position is represented by the XLOC bits and the Y position is represented
by the YLOC bits in the
register. The XLOC bits and YLOC bits are compared
with the respective counter (YLOC is the line counter, XLOC is the pixel counter). These
values must fall between the active start and stop parameters for the display.
This register also contains the enable bit, CEN, for the hardware cursor. Writing a ‘1’ to this bit
enables the hardware cursor.
Note: Very rarely, a vertical line appears when the hardware cursor becomes enable or
disabled. This line is a few pixels wide and only lasts for one frame. It is hard to catch. In
order to prevent this problem: 1. Do not enable/disable the cursor when changing the
cursor bitmaps, and 2. When disabling the cursor, change the CursorXYLOc register to
point to a blank cursor image.
7.4.9.1.7 CursorDScanLHYLoc Register
register.