Display Control Unit (DCU)
MPC5606S Microcontroller Reference Manual, Rev. 7
Freescale Semiconductor
425
dimension. The HEIGHT is limited to a maximum of 256 pixels, and the total number of pixels cannot
exceed the number of bits in the cursor RAM (8192 bits).
Bits in the cursor RAM that are 0 become transparent on the panel. Bits that are 1 become fully opaque in
the color defined in register 3 in the control descriptor for the cursor (CTRLDESCCURSOR_3). The
DEFAULT_CURSOR_COLOR bit field is in RGB888 format.
There are restrictions on the arrangement of bits in the cursor RAM depending on how the HEIGHT and
WIDTH bit fields are configured.
•
The rightmost bit in the cursor RAM (bit 31) represents the leftmost pixel on the display.
•
When the cursor size is less than 32 bits, each row of the cursor is contained in a single 32-bit word
of cursor RAM. The other bits in each row must be filled with zeros.
•
When the cursor width is an integer multiple of 32 bits, the pixels in each row roll from one word
in the RAM to the next one. The rightmost bit in the first word in the RAM is the top leftmost pixel
on the display. The leftmost bit in the word represents a pixel that is adjacent to the rightmost bit
in the next word (in the same row). The leftmost pixel on the next row is the rightmost bit in the
first word after n words that describe the first row.
•
When the cursor is greater than 32 bits but not an integer multiple of 32, the pixels in each row roll
from one word into the next one such that the rightmost bit in the first word of the row is the
leftmost bit on the display. In the final word of the row there are unused bits.
The position of the cursor on the panel is defined by register 2 in the control descriptor for the cursor
(CTRLDESCCURSOR _2). The register contains two bit fields, POSY and POSX, which determine the
location of the upper left pixel of the cursor in the x and y axes. Both fields are expressed in terms of the
number of pixels in each axis. Placing the cursor beyond the panel area is not allowed.
The cursor can be configured to blink at a particular rate when it is enabled. The EN_BLINK,
HWC_BLINK_ON, and HWC_BLINK_OFF bit fields define the blink behavior. These are in register 4
in the control descriptor for the cursor (CTRLDESCCURSOR_4). EN_BLINK enables blinking. The
blinking time is based on the frame rate, and the on and off times are independently configurable.
HWC_BLINK_ON configures the number of frame refresh cycles for which the cursor is visible.
HWC_BLINK_OFF configures the number of frame refresh cycles for which the cursor is not visible. For
a frame refresh rate of 64 Hz, the HWC_BLINK_ON and HWC_BLINK_OFF counters give a range of
on/off times up to 4 seconds.
The cursor is enabled by setting the CUR_EN bit field in register 3 in the control descriptor for the cursor
(CTRLDESCCURSOR_3). Visible pixels in the cursor graphic operate independently from the normal
layer blend process and always replace any other pixel at the same panel location. This has the effect of
making the cursor the highest priority layer on the panel when it is enabled and where it contains visible
pixels.
If the DCU detects an invalid configuration in the cursor control descriptor, then the cursor configuration
is invalid and it cannot be made visible. In addition, the error flag HWC_ERR is set in the layer parameter
error register (PARR_ERR).
The cursor RAM may be written at any time when the TFT LCD panel is not being driven with data. This
means that the RAM can be modified when the DCU is not enabled and during the vertical blanking period.
Содержание MPC5602S
Страница 76: ...Overview MPC5606S Microcontroller Reference Manual Rev 7 74 Freescale Semiconductor...
Страница 82: ...Memory Map MPC5606S Microcontroller Reference Manual Rev 7 80 Freescale Semiconductor...
Страница 112: ...Signal Description MPC5606S Microcontroller Reference Manual Rev 7 110 Freescale Semiconductor...
Страница 166: ...Analog to Digital Converter ADC MPC5606S Microcontroller Reference Manual Rev 7 164 Freescale Semiconductor...
Страница 182: ...Boot Assist Module BAM MPC5606S Microcontroller Reference Manual Rev 7 180 Freescale Semiconductor...
Страница 234: ...Clock Description MPC5606S Microcontroller Reference Manual Rev 7 232 Freescale Semiconductor...
Страница 286: ...Crossbar Switch XBAR MPC5606S Microcontroller Reference Manual Rev 7 284 Freescale Semiconductor...
Страница 470: ...e200z0h Core MPC5606S Microcontroller Reference Manual Rev 7 468 Freescale Semiconductor...
Страница 524: ...Enhanced Direct Memory Access eDMA MPC5606S Microcontroller Reference Manual Rev 7 522 Freescale Semiconductor...
Страница 546: ...Error Correction Status Module ECSM MPC5606S Microcontroller Reference Manual Rev 7 544 Freescale Semiconductor...
Страница 669: ...Flash Memory MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 667...
Страница 670: ...Flash Memory MPC5606S Microcontroller Reference Manual Rev 7 668 Freescale Semiconductor...
Страница 716: ...FlexCAN MPC5606S Microcontroller Reference Manual Rev 7 714 Freescale Semiconductor...
Страница 882: ...LIN Controller LINFlex MPC5606S Microcontroller Reference Manual Rev 7 880 Freescale Semiconductor...
Страница 901: ...Memory Protection Unit MPU MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 899...
Страница 902: ...Memory Protection Unit MPU MPC5606S Microcontroller Reference Manual Rev 7 900 Freescale Semiconductor...
Страница 955: ...Mode Entry Module MC_ME MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 953...
Страница 956: ...Mode Entry Module MC_ME MPC5606S Microcontroller Reference Manual Rev 7 954 Freescale Semiconductor...
Страница 1072: ...Quad Serial Peripheral Interface QuadSPI MPC5606S Microcontroller Reference Manual Rev 7 1070 Freescale Semiconductor...
Страница 1096: ...Reset Generation Module MC_RGM MPC5606S Microcontroller Reference Manual Rev 7 1094 Freescale Semiconductor...
Страница 1106: ...Real Time Clock RTC API MPC5606S Microcontroller Reference Manual Rev 7 1104 Freescale Semiconductor...
Страница 1186: ...Stepper Stall Detect SSD MPC5606S Microcontroller Reference Manual Rev 7 1184 Freescale Semiconductor...
Страница 1213: ...System Integration Unit Lite SIUL MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 1211...
Страница 1214: ...System Integration Unit Lite SIUL MPC5606S Microcontroller Reference Manual Rev 7 1212 Freescale Semiconductor...
Страница 1238: ...Voltage Regulators and Power Supplies MPC5606S Microcontroller Reference Manual Rev 7 1236 Freescale Semiconductor...
Страница 1252: ...Wakeup Unit WKPU MPC5606S Microcontroller Reference Manual Rev 7 1250 Freescale Semiconductor...
Страница 1258: ...Registers Under Protection MPC5606S Microcontroller Reference Manual Rev 7 1256 Freescale Semiconductor...
Страница 1323: ...Register Map MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 1321...
Страница 1324: ...Register Map MPC5606S Microcontroller Reference Manual Rev 7 1322 Freescale Semiconductor...