MITSUBISHI MICROCOMPUTERS
M37274EFSP
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER
and ON-SCREEN DISPLAY CONTROLLER
(15) OSD Output Pin Control
The OSD output pins R, G, B, and OUT1 can also function as ports
P52, P53, P54 and P55. Set the corresponding bit of the OSD port
control register (address 00CB16) to “0” to specify these pins as OSD
output pins, or set it to “1” to specify it as a general-purpose port P5
pins. The OUT2 can also function as port P10. Set the corresponding
bit of the port P1 direction register (address 00C316) to “1” (output
mode). After that, switch between the OSD output function and the
port function by the OSD port control register. Set the corresponding
bit to “1” to specify the pin as OSD output pin, or set it to “0” to specify
as port P1 pin.
The input polarity of the HSYNC, VSYNC and output polarity of signals
R, G, B, OUT1 and OUT2 can be specified with the I/O polarity con-
trol register (address 021716) . Set a bit to “0” to specify positive
polarity; set it to “1” to specify negative polarity (refer to Figure 78).
The OSD port control register is shown in Figure 100.
OSD Port Control Register
b7 b6 b5 b4 b3 b2 b1 b0
OSD port control register (PF) [Address 00CB16
]
0
0
0
B
Name
Functions
R
R
W
W
After reset
0
0, 1,
7
Fix these bits to “0.”
0
0
0
2
3
4
Port P5
selection bit (R)
2
output signal
0 : R signal output
1 : Port P52 output
R
R
R
W
W
W
Port P5
selection bit (G)
3
output signal
0 : G signal output
1 : Port P5 output
3
Port P5
selection bit (B)
4
output signal
0 : B signal output
1 : Port P5 output
4
5
6
Port P5
selection bit (OUT1)
5
output signal
0 : OUT1 signal output
0
0
R
R
W
W
1 : Port P5
5
output
Port P1 output signal
selection bit (OUT2)
Note. Set bit 0 of Port P1 direction register (address 00C316) to "1" (output mode).
0
0 : Port P1
0
output
(Note)
1 : OUT2 signal output
Fig. 100. OSD Port Control Register
98