Notes On Programming For Osd (M37220M3-Xxxsp/Fp); Setting Of Color Registers - Renesas 7200 Series User Manual

Mitsubishi 8-bit single-chip microcomputer
Table of Contents

Advertisement

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
Fig. 5.2.1 Color register n (M37221ERSS)
5.2 Notes on programming for OSD (M37220M3-XXXSP/FP)
Color register n (CO0 to CO3) (n = 0 to 3) [Addresses 00E6
B
Name
0
Nothing is assigned. This bit is a write disable bit.
When this bit is read out, the value is "0."
1
B signal output
selection bit (COn1)
G signal output
2
selection bit (COn2)
3
R signal output
selection bit (COn3)
4
B signal output (background)
selection bit (COn4)
5
OUT1 signal output
control bit (COn5)
6
G signal output (background)
selection bit (COn6)
7
R signal output (background)
selection bit (COn7)
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.
7220 Group User's Manual
to 00E9
16
Functions
0 : No character is output
1 : Character is output
0 : No character is output
1 : Character is output
0 : No character is output
1 : Character is output
0 : No background color is output
1 : Background color is output
(See note 1)
0 : Character is output
1 : Blank is output
(See notes 1, 2)
0 : No background color is output
1 : Background color is output
0 : No background color is output
1 : Background color is output
(See note 2)
APPLICATION
]
16
After reset R W
0
R —
0
R W
0
R W
0
R W
0
R W
0
R W
0
R W
0
R W
5-13

Advertisement

Table of Contents
loading

This manual is also suitable for:

7220

Table of Contents