Nxp Semiconductors UM10237 User Manual

Page of 792
UM10237_2
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 02 — 19 December 2008 
319 of 792
NXP Semiconductors
UM10237
Chapter 12: LPC24XX LCD controller
 
7.21 Cursor XY Position register (CRSR_XY, RW - 0xFFE1 0C10)
The CRSR_XY register defines the distance of the top-left edge of the cursor from the 
top-left side of the cursor overlay. refer to the section on Cursor Clipping for more details.
If the FrameSync bit in the CRSR_CFG register is 0, the cursor position changes 
immediately, even if the cursor is currently being scanned. If Framesync is 1, the cursor 
position is only changed during the next vertical frame blanking period.
The contents of the CRSR_XY register are described in 
.
 
7.22 Cursor Clip Position register (CRSR_CLIP, RW - 0xFFE1 0C14)
The CRSR_CLIP register defines the distance from the top-left edge of the cursor image, 
to the first displayed pixel in the cursor image.
Different synchronization rules apply to the Cursor Clip registers than apply to the cursor 
coordinates. If the FrameSync bit in the CRSR_CFG register is 0, the cursor clip point is 
changed immediately, even if the cursor is currently being scanned.
If the Framesync bit in the CRSR_CFG register is 1, the displayed cursor image is only 
changed during the vertical frame blanking period, providing that the cursor position has 
been updated since the Clip register was programmed. When programming, the Clip 
register must be written before the Position register (ClcdCrsrXY) to ensure that in a given 
frame, the clip and position information is coherent.
The contents of the CRSR_CLIP register are described in 
.
Table 279. Cursor Palette register 1 (CRSR_PAL1, RW - 0xFFE1 0C0C)
Bits
Function
Description
Reset 
value
31:24
reserved
Reserved, user software should not write ones to reserved bits. 
The value read from a reserved bit is not defined.
-
23:16
Blue
Blue color component.
0x0
15:8
Green
Green color component
0x0
7:0
Red
Red color component
0x0
Table 280. Cursor XY Position register (CRSR_XY, RW - 0xFFE1 0C10)
Bits
Function
Description
Reset 
value
31:26
reserved
Reserved, user software should not write ones to reserved bits. 
The value read from a reserved bit is not defined.
-
25:16
CrsrY
Y ordinate of the cursor origin measured in pixels.
When 0, the top edge of the cursor is at the top of the display.
0x0
15:10
reserved
Reserved, user software should not write ones to reserved bits. 
The value read from a reserved bit is not defined.
-
9:0
CrsrX
X ordinate of the cursor origin measured in pixels.
When 0, the left edge of the cursor is at the left of the display.
0x0