pnx1700 NXP Semiconductors, pnx1700 Datasheet - Page 640

no-image

pnx1700

Manufacturer Part Number
pnx1700
Description
Connected Media Processor
Manufacturer
NXP Semiconductors
Datasheet
Philips Semiconductors
Volume 1 of 1
Table 17: Color Compare
PNX17XX_SER_1
Preliminary data sheet
Bit
Offset 0x04 F41C
31:24
23:16
15:8
7:0
Symbol
CCCol[31:24]
CCCol[23:16]
CCCol[15:8]
CCCol[7:0]
Color Compare
This register holds the offset between adjacent scanlines for BLTs and vectors. Under
many circumstances, this register will be initialized to the screen pitch and then
changed only for special effects. It is interpreted as an unsigned byte value.
This 14-bit signed register is used during BLTs and vectors to step from scanline to
scanline. It is also used to convert a DstXY address to a DstLinear address according
to the following formula:
DstLinear = DstXY.Y * DstStride + DstXY.X
There are no restrictions on this register except that the lower three bits are always
interpreted as 0, regardless of the value written. When reading the contents of this
register, the lower three bits will be read back as 0. This implies that the destination
stride must be a multiple of 8 bytes.
As an unsigned register, it is always interpreted as a positive value. The direction in
which the destination is traversed is controlled by the BLT direction field in the BltCtl
register.
This register may be useful for BLTing bitmaps stored in offscreen memory in a 1D
format to the screen. It is unchanged by drawing operations.
This register holds the color compare target color. This register should be initialized
prior to any BLT that enables color compare. The appropriate number of bytes needs
to be loaded in accordance with the current color depth. Thus, if the current depth is 8
bits, only the lowest byte need be written. If the depth is 16 bits, the lowest two bytes
need to be written.
When reading the value of this register, the lower byte will be replicated in all four byte
lanes in 8 bpp mode. In 16 bpp mode, the lower word will be replicated into the upper
word. In 32 bpp mode, all bits are unique and will read back the 32-bit data that was
written. This register is unchanged by drawing operations.
(1)
Acces
s
R/W
R/W
R/W
R/W
This value is adjusted for pixel color depth
Value
0
0
0
0
Rev. 1 — 17 March 2006
Description
Holds the color compare target color.
(1)
+ DstAddrBase
Chapter 20: 2D Drawing Engine
© Koninklijke Philips Electronics N.V. 2006. All rights reserved.
PNX17xx Series
20-20

Related parts for pnx1700