DS785UM1
7-11
Copyright 2007 Cirrus Logic
Raster Engine With Analog/LCD Integrated Timing and Interface
EP93xx User’s Guide
7
7
7
this mode will cause an object to appear and disappear. A drawback to this mode is that it
may cause problems with correctly viewing overlapping objects. Blink Brighter and Blink
Dimmer modes shift the pixel data values by one bit position. For Blink Brighter, the LSB is
dropped, the MSBs are all shifted one bit lower, and the MSB is set to a “1”. For Blink
Dimmer, the LSB is dropped, the MSBs are all shifted one bit lower, and the MSB is set to a
“0“. Blink to Offset is simply adding the value in the BkgrndOffset register to blinking pixels.
The shifting and offsetting can be programmed to be compatible with the selected pixel
organization mode.
Defining blink pixels in 16 bpp and
24 bpp
modes also may sacrifice the total number of
colors available. A blinking pixel is defined by the
registers.
By using the PattrnMask register, either multiple or single bit planes may be used to specify
blinking pixels. This will allow the number of definable blinking pixels to range from all pixel
combinations blinking to only one pixel that blinks. This approach allows the option of
minimizing the number of lost colors by reducing the number of blinking colors. BlinkPattrn is
then used to define the value of the PATTRNMASK bits in the
register that
should blink.
7.4.5 Color Look-Up-Tables
The Raster Engine contains two 256 x 24-bit RAMs that are used as color pixel LUTs to
provide a selection of 256 colors from a palette of 16 million colors. One LUT is inserted in the
video pipeline, while the other is accessible via the AHB. Changing the SWITCH bit in the
register toggles which LUT is in the pipe and which is accessible by the AHB.
The LUTs are mapped to memory addresses and are accessible from the AHB one at a time.
During active video display, the LUT switch command is synchronized to the beginning of the
next vertical frame. When the video state machine is disabled the LUT switch occurs almost
immediately. The status of actual switch occurrence can be monitored by reading the SSTAT
bit in the
register. This bit can be polled, or the frame interrupt can be enabled
and used to time the switching. Each LUT can be used for 4 bpp and 8 bpp modes and is
usually bypassed for 16 bpp and 24 bpp modes. Control for whether or not the LUTs are used
or bypassed altogether in the video pipeline is performed by writing to the appropriate value
to C field (Color field) in the
register.
7.4.6 Color RGB Mux
The color RGB mux is necessary for selecting the appropriate pixel format and routing it to
the appropriate video output stream. The Color RGB mux formats data for the pixel shift logic,
a color DAC interface, or the YCrCb interface. The color RGB mux primary mode of operation
is controlled by the “C” value (color value) in the
register. The primary mode of
operation selects data from the grayscale generator, from the LUT, or from the video pipeline
after the blink logic. When the hardware cursor is enabled by writing CLHEN = ‘1’ in the
register or CursorXYLoc.CEN = ‘1’ in the
register,
CursorColor1/2
data values may be injected into the pipeline, or the primary incoming data
may be inverted. The data formatting performed by the color RGB mux also depends on the
“C” value (color value) in the
register. When in 16-bit 555 or 565 data modes,
the pixel data is reformatted to fit into a 24-bit bus. This includes copying the MSBs for the
Summary of Contents for EP93 Series
Page 28: ...P 6 DS785UM1 Copyright 2007 Cirrus Logic Preface EP93xx User s Guide PP P ...
Page 162: ...5 36 DS785UM1 Copyright 2007 Cirrus Logic System Controller EP93xx User s Guide 55 5 ...
Page 576: ...15 18 DS785UM1 Copyright 2007 Cirrus Logic UART2 EP93xx User s Guide 1515 15 ...
Page 634: ...17 38 DS785UM1 Copyright 2007 Cirrus Logic IrDA EP93xx User s Guide 1717 17 ...
Page 648: ...19 6 DS785UM1 Copyright 2007 Cirrus Logic Watchdog Timer EP93xx User s Guide 1919 19 ...
Page 688: ...21 32 DS785UM1 Copyright 2007 Cirrus Logic I2S Controller EP93xx User s Guide 2121 21 ...
Page 790: ...27 20 DS785UM1 Copyright 2007 Cirrus Logic IDE Interface EP93xx User s Guide 2727 27 ...
Page 808: ...28 18 DS785UM1 Copyright 2007 Cirrus Logic GPIO Interface EP93xx User s Guide 2828 28 ...