User`s manual

113
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER
and ON-SCREEN DISPLAY CONTROLLER
MITSUBISHI MICROCOMPUTERS
Rev. 1.0
M37281MAHXXXSP,M37281MFHXXXSP
M37281MKHXXXSP,M37281EKSP
8.11.16 Raster Coloring Function
An entire screen (raster) can be colored by setting the bits 6 to 0 of
the raster color register. Since each of the R, G, B, OUT1, and OUT2
pins can be switched to raster coloring output, 64 raster colors can
be obtained.
When the character color/the character background color overlaps
with the raster color, the color (R, G, B, OUT1, OUT2),specified for
the character color/the character background color, takes priority of
the raster color. This ensures that the character color/the character
background color is not mixed with the raster color.
The raster color register is shown in Figure 8.11.54, the example of
raster coloring is shown in Figure 8.11.55.
Fig. 8.11.54 Raster Color Register
b7 b6 b5 b4 b3 b2 b1 b0
Raster color register (RC) [Address 0218
16]
B Name Functions At reset R
W
Raster Color Register
0, 1 Raster color R control
bits
(RC0, RC1)
0
R
W
2, 3 0
R
W
4, 5 0
R
W
0
0
W
6
70
R
W
R
Raster color G control
bits
(RC2, RC3)
0 0: No output (See note)
0 1: 1/3 V
CC
1 0: 2/3 VCC
1 1: VCC
b0 b1
Note: When selecting digital output, VCC is output at any other values except 00.
Raster color B control
bits
(RC4, RC5)
Raster color OUT1
control bits (RC6)
0: No output
1: Output
0 0: No output (See note)
0 1: 1/3 V
CC
1 0: 2/3 VCC
1 1: VCC
b3 b2
0 0: No output (See note)
0 1: 1/3 V
CC
1 0: 2/3 VCC
1 1: VCC
b5 b4
Raster color OUT2
control bits (RC7)
0: No output
1: Output
Note : Raster is not output to the area which includes blank output.