M37221M4H/M6H/M8H/MAH–XXXSP/FP M37221EASP/FP
8.11.8 OSD Output Pin Control
The OSD output pins R, G, B and OUT1 can also function as ports
P52–P55. Set the corresponding bit of the port P5 direction register
(address 00CB16) to “0” to specify these pins as OSD output pins, or
to “1” to specify as the general-purpose port P5.
The OUT2 can also function as port P10. Set bit 0 of the OSD port
control register (address 00EC16) to “1” (output mode). After that, set
bit 7 of the OSD control register to “1” to specify the pin as OSD
output pin, or set it to “0” to specify as port P10.
The input polarity of the HSYNC and VSYNC, and the output polarity of
signals R, G, B, OUT1 and OUT2 can be specified with the OSD port
control register (address 00EC). Set bits to “0” to specify positive
polarity; set it to “1” to specify negative polarity (refer to Figure 8.11.13).
The OSD port control register is shown in Figure 8.11.17.
OSD Port Control Register
b7 b6 b5 b4 b3 b2 b1 b0
OSD port control register (CRTP) [Address 00EC16
]
B
0
Name
Functions
After reset R
W
W
0 : Positive polarity input
1 : Negative polarity input
0
0
0
0
0
0
0
0
R
R
R
R
R
R
R
R
H
SYNC input polarity
switch bit (HSYC)
1
2
3
4
5
6
7
0 : Positive polarity input
1 : Negative polarity input
W
W
W
W
W
W
W
V
SYNC input polarity
switch bit (VSYC)
0 : Positive polarity output
1 : Negative polarity output
R/G/B output polarity switch
bit (R/G/B)
OUT2 output polarity
switch bit (OUT2)
0 : Positive polarity output
1 : Negative polarity output
OUT1 output polarity
switch bit (OUT1)
0 : Positive polarity output
1 : Negative polarity output
0 : R signal output
1 : MUTE signal output
R signal output switch bit
(OP5)
G signal output switch
bit(OP6)
0 : G signal output
1 : MUTE signal output
B signal output switch
bit(OP7)
0 : B signal output
1 : MUTE signal output
Fig. 8.11.17 OSD Port Control Register
Rev.1.00 Oct 01, 2002 page 72 of 110
REJ03B0134-0100Z