Display Control Unit (DCU)
MPC5606S Microcontroller Reference Manual, Rev. 7
Freescale Semiconductor
411
If the WIDTH bit field is set to an invalid multiple, then the layer configuration is invalid, the layer cannot
be made visible, and an error flag is set in the layer parameter error register (PARR_ERR).
The position of each layer on the panel is defined by register 2 in the control descriptor for the layer
(CTRLDESCLn_2, where n is the layer number). The register contains two bit fields, POSY and POSX,
which determine the location of the upper left pixel of the layer in the x and y axes. Both fields are
expressed in terms of the number of pixels in each axis.
There are no restrictions on layer placement. Any layer can be placed and moved to any panel position. If
a layer is placed so that pixels would appear beyond the dimensions of the panel, then the DCU displays
the pixels on the panel and ignores the pixels off the panel.
12.4.5.4
Graphics and data format
The memory location of the graphic that is displayed on the layer is defined by register 3 in the control
descriptor for the layer (CTRLDESCLn_3, where n is the layer number). This 32-bit value can contain the
address of any memory location in the memory map of the MCU.
The format of the data that describes the graphic is defined by the BPP bit field in register 4 in the control
descriptor for the layer (CTRLDESCLn_4, where n is the layer number). This value also influences the
range of values for the width of the layer (see
Section 12.4.5.3, Layer size and positioning
). By choosing
an appropriate format, it is possible to optimize the memory required by the graphics in use.
There are five formats where the RGB values of the pixels are stored directly in the graphic. In these
formats, the DCU treats the data as describing a true RGB color. The formats are:
•
ARGB8888, where the data defines 8-bit values for the red, green, blue, and alpha components of
the image.
•
RGB888, where the data defines 8-bit values for the red, green, and blue components of the image.
•
RGB565 where the data defines 5-bit values for the red and blue components, and 6-bit values for
the green component of the image.
•
ARGB1555 where the data defines 5-bit values for the red, green, and blue components, and a 1-bit
value for the alpha channel of the image.
•
ARGB4444, where the data defines 4-bit values for the red, green, blue, and alpha components of
the image.
Table 12-52. Example of WIDTH multiples for different graphic data formats
Data format
WIDTH multiples
Example values
1 bpp
16
16, 32, 48, 64, …
2 bpp
16
16, 32, 48, 64, …
4 bpp
8
8, 16, 24, 32, …
8 bpp
4
4, 8, 12, 16, …
16 bpp
2
2, 4, 6, 8, …
24 bpp
4 (= 3 whole 32-bit words)
4, 8, 12, 16
32 bpp
1
1, 2, 3, 4, …
Содержание 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...