Lcdc Cursor Width Height And Blink Register (Lcd_Cwhb) - Freescale Semiconductor MCF5329 Reference Manual

Devices supported: mcf5327; mcf5328; mcf53281; mcf5329
Table of Contents

Advertisement

Field
31–30
Cursor control. Controls the format of the cursor and the type of arithmetic operations, if enabled by the OP bit.
CC
1
29
Reserved, must be cleared.
28
Arithmetic operation control. Enables/disables arithmetic operations between the background and the cursor.
OP
0 Arithmetic operation disabled.
1 Arithmetic operation enabled. (Should only be used for color modes.)
27–26
Reserved, must be cleared.
25–16
Cursor X-position. Indicates the cursor's horizontal starting position in pixel count (from 0 to LCD_SR[XMAX]).
CXP
15–10
Reserved, must be cleared.
9–0
Cursor Y-position. Indicates the cursor's vertical starting position in pixel count (from 0 to LCD_SR[YMAX]).
CYP
22.3.5

LCDC Cursor Width Height and Blink Register (LCD_CWHB)

The cursor width height and blink register is used to determine the width and height of the cursor, and how
it blinks.
Address: 0xFC0A_C010 (LCD_CWHB)
31
30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9
R BK_
0 0
EN
W
Reset
0
0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
Figure 22-6. LCD Cursor Width Height and Blink Register (LCD_CWHB)
Freescale Semiconductor
Table 22-7. LCD_CPR Field Descriptions
1
OP
CC
X
00
Transparent, cursor is disabled
0
01
0
10
0
11
0 for non-color displays; AND between background
1
01
OR between background and cursor
1
10
XOR between background and cursor
1
11
AND between background and cursor
OP = 1 for color modes only.
0 0 0
CW
MCF5329 Reference Manual, Rev 3
Liquid Crystal Display Controller (LCDC)
Description
Cursor Format
1 for non-color displays; color defined in the
LCD_CCMR register for color displays
Reversed, INV background for non-color displays;
INV color defined in the LCD_CCMR register
for color displays
and cursor for color displays
0 0 0 0 0 0 0 0
CH
Access: User read/write
8
7
6
5
4
3
2
1
0
BD
22-7

Advertisement

Table of Contents
loading

Table of Contents