Display Control Unit (DCU)
MPC5606S Microcontroller Reference Manual, Rev. 7
Freescale Semiconductor
407
To enable the panel it is possible to set DCU_MODE to be active and then set RASTER_EN. It is possible
to set RASTER_EN and then set DCU_MODE to be active. It is also possible to set both in the same write.
It is not possible to set DCU_MODE to be active and then set it to 0 before the RASTER_EN bit has been
set.
To disable the panel MCU_MODE must be set to 0 in the same write as or before RASTER_EN can be set
to 0.
It is not possible to set RASTER_EN to 0 (disable raster) before disabling the pixel clock.
12.4.5
Layer configuration and blending
Users control the graphical content of the TFT panel by manipulating the configuration of elements in the
DCU called layers. Each layer has a control descriptor that defines the size, position, memory encoding,
blending, and memory location of the graphic to be displayed. The DCU provides 16 independent layers
that are identical except that they have a fixed priority with respect to each other, and this affects how
individual pixels are blended when layers overlap. The blending setting on each layer allows the pixels on
that layer to be opaque, partially transparent, or fully transparent, which allows them to combine with
pixels on other layers that they overlap.
12.4.5.1
Blending priority of layers
The 16 layers available in the DCU are each fixed in priority order, with layer 0 being the highest priority,
layer 1 being the second highest priority, and so on until layer 15, which is the lowest priority. The priority
is used by the DCU to define how to blend individual pixels within the layers. For example, if layer 0 is
defined as not being blended with other layers and a pixel on layer 0 overlaps a pixel on layer 1 then the
pixel on layer 0 will be visible on the panel unchanged by the pixel on layer 1. However, if layer 0 is
defined as being partially transparent, then the DCU will blend the overlapping pixel such that the result
is a combination of the pixel on layer 0 and the pixel on layer 1. It is possible to blend up to four layers at
each pixel position.
As there is a maximum number of layers that can blended together, then any pixel on a layer that is lower
than the threshold priority will not be included in any blend. If a pixel is on a layer that has the lowest
priority in any blending scheme, then the blending settings for that pixel are ignored and the pixel is treated
as a background pixel. This means that a lower priority layer may have some pixels completely obscured
by those on higher priority layers on one part of the panel, and some other pixels visible or blended on
other parts of the panel.
shows how the pixel blend takes place inside the DCU. The priority of the layers determines
at which stage of the blend the pixel enters. Any pixels lower than the threshold priority are ignored and,
as can be seen, the blend settings for the lowest priority pixel is also ignored. The maximum number of
pixels in the blend is configured by the BLEND_ITER bit field in the DCU_MODE register. As can be
seen in the figure, the blending process is iterative so that four-pixel blending takes more DCU clock cycles
than three-pixel blending, and three-pixel blending takes more DCU clock cycles than two-pixel blending.
Содержание 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...