![](http://datasheet.mmic.net.cn/390000/TVP3010C_datasheet_16839161/TVP3010C_60.png)
2–44
2.16.7
These registers are used to specify the (X and Y) coordinate of the lower right corner of the crosshair cursor
or auxiliary window. As shown in Table 2–25, the window stop X register is made up of the window stop X
LSB (WSPXL) and the window stop X MSB (WSPXM); the window stop Y register is made up of the window
stop Y LSB (WSPYL) and the window stop Y MSB (WSPYM). They are not initialized and may be written
to or read from by the MPU at any time. The window stop is not updated until the vertical retrace interval
after WSPYM has been written to by the MPU.
Window Stop X and Y Registers
WSPXL and WSPXM registers are cascaded to form a 12-bit window stop X register. Similarly, WSPYL and
WSPYM registers are cascaded to form a 12-bit window stop Y register. Bits D4 – D7 of WSPXM and
WSPYM are always cleared to 0.
Table 2–25. Window Stop X and Y Registers
WINDOW STOP X MSB
(WSPXM)
D5
D4
WINDOW STOP X LSB
(WSPXL)
D5
D4
Data Bit
D7
D6
D3
D2
D1
D0
D7
D6
D3
D2
D1
D0
X Coordinate
0
0
0
0
X11
X10
X9
X8
X7
X6
X5
X4
X3
X2
X1
X0
Index = 13h
Index = 12h
WINDOW STOP Y MSB
(WSPYM)
D5
D4
WINDOW STOP Y LSB
(WSPYL)
D5
D4
Data Bit
D7
D6
D3
D2
D1
D0
D7
D6
D3
D2
D1
D0
Y Coordinate
0
0
0
0
Y11
Y10
Y9
Y8
Y7
Y6
Y5
Y4
Y3
Y2
Y1
Y0
Index = 17h
Index = 16h
The window stop 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 stop X register.
The window stop 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 stop Y register.
The values written into the window stop X and Y registers should be relative to the first displayed pixel on
the screen (i.e., 0,0).
The window stop location specified is the last 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.