![Samsung S3C2451X Скачать руководство пользователя страница 427](http://html.mh-extra.com/html/samsung/s3c2451x/s3c2451x_user-manual_340826427.webp)
Preliminary
S3C2451X RISC MICROPROCESSOR
2D
19-7
Preliminary product information describe products that are in development,
for which full characterization data and associated errata are not yet available.
Specifications and information herein are subject to change without notice.
Figure 19-6 Color Expansion
2D can render Color Expansion image in Transparent Mode. In this mode, the pixels with background color (the
corresponding bits are ‘0’s) are discarded, resulting in a transparent effect. The transparent effect on Color
Expansion is illustrated in Figure 19-7, in which the lower three lines are drawn with Transparent Mode enabled
while the upper three disabled. Note that the background color is set to white and the foreground black.
Figure 19-7 Font Drawing with Transparent Mode
2D supports both host-to-screen mode and memory-to-screen mode of Color Expansion.
Related Registers
COORD_0
Coordinate of the leftmost topmost coordinate of the destination window
COORD_1
Coordinate of the rightmost bottommost coordinate of the destination window
FG_COLOR Foreground
Color
BG_COLOR Background
Color
ROP_REG
Enable/disable Transparent Mode
CMD7_REG
The base address of the font data. Note that writing to this register starts the
rendering process in the memory-to-screen mode.
CMD4_REG/CMD5_REG
The host provides the font data through these two command registers. When the
host writes the first 32-bit data into CMD4_REG, the rendering process starts in the
host-to-screen mode. Then the host should provide the rest of data by writing them
into CMD5_REG continuously.