
ViiiPeRiPheRaLMoDuLes6(LCD):LCDContRoLLeR(LCDC)
Viii-1-30
ePson
s1C33L17teChniCaLManuaL
Displaymemoryforthesub-window
The display data for the sub-window can be stored in IVRAM or the external SDRAM. If the same memory as
the main window is used, make sure that the display data areas for the main window and sub-window do not
overlap.
The sub-window start address is specified by the Sub-window Display Start Address Register (0x301A80) in
the same manner as the main window. The start address set in the Sub-window Display Start Address Register
(0x301A80) corresponds to the upper left corner of the sub-window.
Note that a word boundary address (A[1:0] = 0b00) in IVRAM or the external SDRAM must be specified to
this register.
The sub-window width must be a multiple of (32 bits
÷ bpp).
sub-windowcoordinates
The display position and size of the sub-window are configured with the X and Y coordinates of the start posi-
tion (upper left corner) and end position (lower right corner).
Specify the sub-window start position using PIPXST[9:0] (D[9:0]/0x301A88) for the X coordinate and
PIPYST[9:0] (D[25:16]/0x301A88) for the Y coordinate. Use PIPXEND[9:0] (D[9:0]/0x301A8C) for specify-
ing the X coordinate of the end position and PIPYEND[9:0] (D[25:16]/0x301A8C) for the Y coordinate.
*PiPXst[9:0]: Sub-windowHorizontal(X)StartPositionBitsintheSub-windowStartPositionRegister
(D[9:0]/0x301A88)
*PiPYst[9:0]: Sub-windowVertical(Y)StartPositionBitsintheSub-windowStartPositionRegister
(D[25:16]/0x301A88)
*PiPXenD[9:0]:Sub-windowHorizontal(X)EndPositionBitsintheSub-windowEndPositionRegister
(D[9:0]/0x301A8C)
*PiPYenD[9:0]:Sub-windowVertical(Y)EndPositionBitsintheSub-windowEndPositionRegister
(D[25:16]/0x301A8C)
The X coordinate should be specified with the number of data words converted from the number of pixels from
the LCD panel origin point according to the bpp mode. Therefore, it can be specified in (32 bits
÷ bpp) pixel
increments.
1-bpp mode:
1-word = 32-pixel units
2-bpp mode:
1-word = 16-pixel units
4-bpp mode:
1-word = 8-pixel units
8-bpp mode:
1-word = 4-pixel units
12-bpp mode: 3-word = 8-pixel units (because the value must be an integer)
16-bpp mode: 1-word = 2-pixel units
For example, to specify the sub-window horizontal start position as 80 pixels in 8-bpp mode, set PIPXST[9:0]
(D[9:0]/0x301A88) to 20.
The Y coordinate is specified with the number of lines from the LCD panel origin point in line units. For ex-
ample, to specify the sub-window vertical start position as 60 lines, set PIPYST[9:0] (D[25:16]/0x301A88) to
60.
sub-windowdisplaycontrol
The Picture-in-Picture Plus function is enabled and the sub-window is displayed by setting PIPEN (D31/
0x301A88) to 1. This bit must be set after the sub-window configuration parameters are set up.
*PiPen:PIPSub-windowEnableBitintheSub-windowStartPositionRegister(D31/0x301A88)
At initial reset, PIPEN (D31/0x301A88) is set to 0 and sub-window is disabled for display.