English
Language : 

7220 Datasheet, PDF (186/303 Pages) Renesas Technology Corp – 8-BIT SINGLE-CHIP MICROCOMPUTER
APPLICATION
5.2 Notes on programming for OSD (M37220M3-XXXSP/FP)
5.2 Notes on programming for OSD (M37220M3-XXXSP/FP)
The emulator MCU M37221ERSS is used for programming development with the M37220M3-XXXSP/FP.
However, the functions of the M37221ERSS are compatible with those of the M37221Mx-XXXSP/FP, and
therefore has some functions which the M37220M3-XXXSP/FP does not have. Note the following differences
when programming using the M37220M3-XXXSP/FP.
5.2.1 Setting of color registers
The color registers of M37220M3-XXXSP/FP are different from those of M37221ERSS (refer to “Figures
5.2.1 and 5.2.2”). Character background colors can be output when programming with the M37221ERSS,
but not with the M37220M3-XXXSP/FP mask version. This character background color program does not
operate on the M37220M3-XXXSP/FP and therefore, it cannot output character background colors (except
character background colors by OUT signal; bit 5).
Color Register n
b7 b6 b5 b4 b3 b2 b1 b0
Color register n (CO0 to CO3) (n = 0 to 3) [Addresses 00E6 16 to 00E916]
B
Name
Functions
After reset R W
0 Nothing is assigned. This bit is a write disable bit.
When this bit is read out, the value is “0.”
0 R—
1 B signal output
selection bit (COn1)
0 : No character is output
1 : Character is output
0 RW
2 G signal output
selection bit (COn2)
0 : No character is output
1 : Character is output
0 RW
3 R signal output
selection bit (COn3)
0 : No character is output
1 : Character is output
0 RW
4 B signal output (background) 0 : No background color is output
0
selection bit (COn4)
1 : Background color is output (See note 1)
RW
5 OUT1 signal output
control bit (COn5)
0 : Character is output
1 : Blank is output
0 RW
(See notes 1, 2)
6 G signal output (background) 0 : No background color is output
selection bit (COn6)
1 : Background color is output
0 RW
7 R signal output (background) 0 : No background color is output
0
selection bit (COn7)
1 : Background color is output (See note 2)
RW
Notes 1: When bit 5 = “0” and bit 4 = “1,” there is output same as a character or border output
from the OUT1 pin.
Do not set bit 5 = “0” and bit 4 = “0.”
2: When only bit 7 = “1” and bit 5 = “0,” there is output from the OUT2 pin.
Fig. 5.2.1 Color register n (M37221ERSS)
7220 Group User’s Manual
5-13