![](http://datasheet.mmic.net.cn/390000/TVP3010C_datasheet_16839161/TVP3010C_59.png)
2–43
2.16.6
These registers are used to specify the (X and Y) coordinate of the upper left corner of the crosshair-cursor
window or auxiliary window. As shown in Table 2–24, the window start X register is made up of the window
start X LSB (WSXL) and the window start X MSB (WSXM); the window start Y register is made up of the
window start Y LSB (WSYL) and the window start Y MSB (WSYM). They are not initialized and may be
written to or read from by the MPU at any time. The window start is not updated until the vertical-retrace
interval after WSYM has been written to by the MPU.
Window Start X and Y Registers
WSXL and WSXM are cascaded to form a 12-bit window start X register. Similarly, WSYL and WSYM are
cascaded to form a 12-bit window start Y register. Bits D4–D7 of WSXM and WSYM are always set to 0.
Table 2–24. Window Start X and Y Registers
WINDOW START X MSB
(WSXM)
D5
D4
WINDOW START X LSB
(WSXL)
D6
D5
D4
Data Bit
D7
D6
D3
D2
D1
D0
D7
D3
D2
D1
D0
X Coordinate
0
0
0
0
X11
X10
X9
X8
X7
X6
X5
X4
X3
X2
X1
X0
Index = 11h
Index = 10h
WINDOW START Y MSB
(WSYM)
D5
D4
WINDOW START Y LSB
(WSYL)
D6
D5
D4
Data Bit
D7
D6
D3
D2
D1
D0
D7
D3
D2
D1
D0
Y Coordinate
0
0
0
0
Y11
Y10
Y9
Y8
Y7
Y6
Y5
Y4
Y3
Y2
Y1
Y0
Index = 15h
Index = 14h
The window start X value to be written is calculated as follows:
Wx = desired display screen X position
Values from 0000 (hex) to 0fff (hex) may be written into the window start X register.
The window start Y value to be written is calculated as follows:
Wy = desired display screen Y position
Values from 0000 (hex) to 0fff (hex) may be written into the window start Y register.
The values written into the window start X and Y registers should be relative to the first displayed pixel on
the screen (i.e., 0,0).
The window start location specified is the first location inside the window. For the crosshair cursor or auxiliary
window to be displayed, the window start registers must specify a point on the active display.