English
Language : 

M37221M6_03 Datasheet, PDF (45/62 Pages) Renesas Technology Corp – SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER
MITSUBISHI MICROCOMPUTERS
M37221M6-XXXSP
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER
with ON-SCREEN DISPLAY CONTROLLER
(8) CRT Output Pin Control
The CRT output pins R, G, B, and OUT1 can also function as ports
7
P52, P53, P54 and P55. Set the corresponding bit of the port P5 di-
rection register (address 00CB16) to “0” to specify these pins as CRT
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 bit 7 of the CRT
control register (address 00EA16) to “0” to specify it as port P10, set
it to “1” to specify it as OUT2 pin.
The input polarity of signals HSYNC and VSYNC and output polarity of
signals R, G, B, OUT1 and OUT2 can be specified with the bits of the
CRT port control register (address 00EC16) . Set a bit to “0” to specify
positive polarity; set it to “1” to specify negative polarity. The struc-
ture of the CRT port control register is shown in Figure 46.
(9) Raster Coloring Function
An entire screen (raster) can be colored by setting the bits 5 to 7 of
the CRT port control register. Since each of the R, G, and B pins can
be switched to raster coloring output, 7 raster colors can be obtained.
If the R, G, and B pins have been set to MUTE signal output, a raster
coloring signal is output in the part except a no-raster colored char-
acter (in Figure 47, a character “O”) during 1 horizontal scanning
period. This ensures that character colors do not mix with the raster
color. In this case, MUTE signal is output from the OUT1 pin.
An example in which a magenta character “I” and a red character “O”
are displayed with blue raster coloring is shown in Figure 47.
“RED”
“BLUE”
A
A'
0
CRT port control register
(CRTP : address 00EC16)
HSYNC input polarity switch
bit
0 : Positive polarity
1 : Negative polarity
VSYNC input polarity switch
bit
0 : Positive polarity
1 : Negative polarity
R, G, B output polarity switch
bit
0 : Positive polarity
1 : Negative polarity
OUT2 output polarity switch
bit
0 : Positive polarity
1 : Negative polarity
OUT1 output polarity switch
bit
0 : Positive polarity
1 : Negative polarity
R signal output switch bit
0 : R signal output
1 : MUTE signal output
G signal output switch bit
0 : G signal output
1 : MUTE signal output
B signal output switch bit
0 : B signal output
1 : MUTE signal output
HSYNC
R
B
OUT1
Fig. 47. Example of raster coloring
Signals
across
A – A'
Fig. 46. Structure of CRT port control register
44