English
Language : 

M37160M8 Datasheet, PDF (81/131 Pages) Renesas Technology Corp – SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37160M8/MA/MF-XXXSP/FP,M37160EFSP/FP
8.10.15 Raster Coloring Function
An entire screen (raster) can be colored by setting bits 4 to 0 of the
raster color register. Since each of the R, G, B, OUT pins can be
switched to raster coloring output, 8 raster colors can be obtained.
When the character color character background color overlaps with
the raster color, the color (R, G, B, OUT), specified for the character
color character background color, takes priority over the raster color.
This ensures that character color/character background color is not
mixed with the raster color.
The raster color register is shown in Figure 8.10.31, an example of
raster coloring is shown in Figure 8.10.30.
Raster Color Register
b7 b6 b5 b4 b3 b2 b1 b0
00 0
Raster color register (RC) [Address 00D916]
B
Name
0 Raster color R
control bit (RC0)
1 Raster color G
control bit (RC1)
2 Raster color B
control bit (RC2)
3 Raster color OUT
control bit (RC3)
4
to
Fix these bits to “0.”
6
7 Port function
selection bit (RC7)
Functions
0 : No output
1 : Output
0 : No output
1 : Output
0 : No output
1 : Output
0 : No output
1 : Output
0 : XCIN,
XCOUT
1 : P26, P27
After reset R W
0 RW
0 RW
0 RW
0 RW
0 RW
0 RW
Fig. 8.10.30 Raster Color Register
Rev.1.01 2003.11.13 page 81 of 130