User`s manual

107
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER
and ON-SCREEN DISPLAY CONTROLLER
MITSUBISHI MICROCOMPUTERS
Rev. 1.0
M37281MAHXXXSP,M37281MFHXXXSP
M37281MKHXXXSP,M37281EKSP
8.11.14 Window Function
The window function can be set windows on-screen, and output OSD
within only the area where the window is set.
The ON/OFF for vertical window function is performed by bit 5 of
OSD control register 1 and is used to select vertical window function
or vertical blank function by bit 6 of OSD control register 2. Accord-
ingly, the vertical window function cannot be used simultaneously
with the vertical blank function. The display mode to validate the win-
dow function is selected by bits 5 to 7 of OSD control register 3. The
top boundary is set by top border control registers 1, 2 (TB1, TB2)
and the bottom boundary is set by bottom border control registers 1,
2 (BB1, BB2).
The ON/OFF for horizontal window function is performed by bit 4 of
OSD control register 2 and is used interchangeably for the horizontal
blank function with bit 5 of OSD control register 2. Accordingly, the
horizontal blank function cannot be used simultaneously with the
horizontal window function. The display mode to validate the window
function is selected by bits 5 to 7 of OSD control register 3. The left
boundary is set by left border control registers 1, 2 (LB1, LB2), and
the right boundary is set by right border control registers 1, 2 (RB1,
RB2).
Fig. 8.11.44 Example of window function (When CC Mode Is Valid)
CDOSD mode
F
G
HIJ
KLMNO
PQR
S
T
OSD mode
ABCDE
UVWXY
Screen
CC mode
Window
Bottom boundary
of window
Top boundary
of window
Right boundary
of window
Left boundary
of window
Window
Notes 1: Horizontal blank and horizontal window, as well as vertical blank and
vertical window can not be used simultaneously.
2: When the window function is ON by OSD control registers 1 and 2,
the window function of OUT2 is valid in all display mode regardless
of setting value of OSD control register 3 (bits 5 to 7). For example,
even when make the window function valid in only CC mode, the
function of OUT2 is valid in OSD and CDOSD modes.
3: The SPRITE display is not effected by the window function.