M37221M4H/M6H/M8H/MAH–XXXSP/FP M37221EASP/FP
8.11.5 Color Register
The color of a displayed character can be specified by setting the
color to one of the 4 registers (CO0 to CO3: addresses 00E616 to
00E916) and then specifying that color register with the OSD RAM.
There are 3 color outputs; R, G and B. By using a combination of
these outputs, it is possible to set 8 colors. However, since only 4
color registers are available, up to 4 colors can be disabled at one
time.
R, G and B outputs are set by using bits 1 to 3 in the color register. Bit
5 is used to specify whether a character output or blank output. Bits
4, 6 and 7 are used to specify character background color. Figure
8.11.12 shows the color register.
Color Register i
b7 b6 b5 b4 b3 b2 b1 b0
Color register i (COi) (i = 0 to 3) [Addresses 00E616 to 00E916]
B
0
Name
Functions
After reset
0
R
W
Nothing is assigned. This bit is a write disable bit.
When this bit is read out, the value is “0.”
R —
1
2
3
4
5
6
7
W
W
W
W
W
W
W
B signal output selection
bit (COi1)
0: No character is output
1: Character is output
0
0
0
0
0
0
0
R
R
R
R
R
R
R
G signal output selection
bit (COi2)
0: No character is output
1: Character is output
0: No character is output
1: Character is output
R signal output selection
bit (COi3)
B signal output (background)
selection bit (COi4) (See note 1)
0: No background color is output
1: Background color is output
0: Character is output
1: Blank is output
OUT1 signal output control bit
(COi5) (See notes 1, 2)
0: No background color is output
1: Background color is output
G signal output (background)
selection bit (COi6) (See note 1)
R signal output (background)
0: No background color is output
selection bit (COi7) (See note 2) 1: Background color is output
Notes 1: When bit 5 =“0” and bit 4 = “1,” there is output same as a character or
border output from pin OUT1.
Do not set bit 5 = “0” and bit 4 = “0.”
2: When only bit 7 =“1” and bit 5 “0,” there is output from pin OUT2.
Fig. 8.11.13 Color Register i
Rev.1.00 Oct 01, 2002 page 68 of 110
REJ03B0134-0100Z