English
Language : 

M37281EKSP Datasheet, PDF (116/172 Pages) Renesas Technology Corp – SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER
M37281MAH–XXXSP,M37281MFH–XXXSP,M37281MKH–XXXSP, M37281EKSP
8.11.18 OSD Output Pin Control
The OSD output pins R(R1), G(G1), B(B1) and OUT1 can also func-
tion as ports P52 to 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
pin.
Pins R0, G0 and B0 can also function as ports P17, P15 and P16,
respectively. Set bit 1 of the OSD port control register to “0” to specify
these pins as a general-purpose output port P1 pin, or set it to “1” to
specify it as OSD output pins. When “0,” 4-adjustment-level analog
output is output from pins R, G and B. When “1,” the value which is
converted from the analog to the 2-bit digital is output as follows: the
high-order bit is output pins R1, G1 and B1 and the low-order bit is
output from pins R0, G0 and B0.
The OUT2 can also function as Port P10. Set bit 0 of the port P1
direction register (address 00C316) to “1” (output mode). After that,
set bit 6 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 P10 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 8.11.18).
The OSD port control register is shown in Figure 8.11.56.
Note: When using ports P52 to P54 as general-purpose pins, set bit 2 of OSD
control register 2 (address 021516) to “0.”
OSD Port Control Register
b7 b6 b5 b4 b3 b2 b1 b0
0
0 OSD port control register (PF) [Address 00CB16]
b
Name
0 Fix this bit to “0”
1 R, G, B output method
selection bit (RGB2BIT)
2 Port P52 output signal
selection bit (R)
3 Port P53 output signal
selection bit (G)
4 Port P54 output signal
selection bit (B)
5 Port P55 output signal
selection bit (OUT1)
6 Port P10 output signal
selection bit (OUT2)
7 Fix this bit to “0”
Functions
After reset R W
0 RW
0 : 4-adjustment-level analog is 0
output from pins R, G, B.
1 : Value which is converted
from 4-adjustment-level
analog to 2-bit digital is
output as below:
High-order: from R1, G1, B1
Low-order: from R0, G0, B0
0 : R signal output
0
1 : Port P52 output
0 : G signal output
0
1 : Port P53 output
0 : B signal output
0
1 : Port P54 output
0 : OUT1 signal output
0
1 : Port P55 output
0 : Port P10 signal output
0
1 : OUT2 output
0
RW
RW
RW
RW
RW
RW
RW
Fig. 8.11.56 OSD Port Control Register
Rev.1.01 2003.07.16 page 116 of 170