
88
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER
and ON-SCREEN DISPLAY CONTROLLER
M37272M6/M8–XXXSP/FP, M37272MA–XXXSP
M37272E8SP/FP, M37272EFSP
MITSUBISHI MICROCOMPUTERS
Rev. 1.3
8.11.13 OSD Output Pin Control
The OSD output pins R, G, B and OUT1 can also function as ports
P5
2–P55. Set corresponding bit of the OSD port control register (ad-
dress 00CB
16) to “0” to specify these pins as OSD output pins, or set
it to “1” to specify it as a general-purpose port P5.
The OUT2 can also function as port P1
0. Set bit 0 of the port P1
direction register (address 00C3
16) to “1” (output mode). After that,
set bit 7 of the OSD port control register to “1” to specify the pin as
OSD output pin, or set it to “0” to specify as port P1
0.
The input polarity of the H
SYNC, VSYNC and output polarity of signals
R, G, B, OUT1 and OUT2 can be specified with the I/O polarity con-
trol register (address 00D8) . Set a bit to “0” to specify positive polar-
ity; set it to “1” to specify negative polarity (refer to Figure 8.11.13).
The structure of the OSD port control register is shown in Figure
8.11.28.
Fig. 8.11.28 OSD Port Control Register
b
7b
6b
5b
4b
3b
2b
1b
0
D
p
o
r
t
c
o
n
t
r
o
l
r
e
g
i
s
t
e
r
P
F
[
A
d
d
r
e
s
s
0
0
B
1
6
]
BN
a
m
F
u
n
c
t
i
o
n
R
W
D
P
o
r
t
o
n
t
r
o
l
R
e
g
i
s
t
e
r
0
2
0
30
:
s
i
g
n
a
l
o
u
t
p
u
t
1
:
P
o
r
t
P
5
3
o
u
t
p
u
t
0
0
F
i
x
t
h
e
s
e
b
i
t
s
t
o
0
.
”
R—
RW
RW
RW
0
,
1
P
o
r
t
P
5
3
o
u
t
p
u
t
s
i
g
n
a
l
s
e
l
e
c
t
i
o
n
b
i
t
(
P
F
3
)
4
0
:
B
s
i
g
n
a
l
o
u
t
p
u
t
1
:
P
o
r
t
P
5
4
o
u
t
p
u
t
0RW
P
o
r
t
P
5
4
o
u
t
p
u
t
s
i
g
n
a
l
s
e
l
e
c
t
i
o
n
b
i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