English
Language : 

M37221M4H_15 Datasheet, PDF (74/114 Pages) Renesas Technology Corp – SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER
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
Name
Functions
After reset R W
0 HSYNC input polarity
switch bit (HSYC)
0 : Positive polarity input
1 : Negative polarity input
0 RW
1 VSYNC input polarity
switch bit (VSYC)
0 : Positive polarity input
1 : Negative polarity input
0 RW
2 R/G/B output polarity switch 0 : Positive polarity output
bit (R/G/B)
1 : Negative polarity output
0 RW
3 OUT2 output polarity
switch bit (OUT2)
0 : Positive polarity output
1 : Negative polarity output
0 RW
4 OUT1 output polarity
switch bit (OUT1)
0 : Positive polarity output
1 : Negative polarity output
0 RW
5 R signal output switch bit 0 : R signal output
(OP5)
1 : MUTE signal output
0 RW
6 G signal output switch
bit(OP6)
0 : G signal output
1 : MUTE signal output
0 RW
7 B signal output switch
bit(OP7)
0 : B signal output
1 : MUTE signal output
0 RW
Fig. 8.11.17 OSD Port Control Register
Rev.1.00 Oct 01, 2002 page 72 of 110
REJ03B0134-0100Z