VIII PERIPHERAL MODULES 6 (LCD): LCD CONTROLLER (LCDC)
VIII-1-30
EPSON
S1C33E07 TECHNICAL MANUAL
Display memory for the sub-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-window coordinates
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-window Horizontal (X) Start Position Bits in the Sub-window Start Position Register
(D[9:0]/0x301A88)
PIPYST[9:0]: Sub-window Vertical (Y) Start Position Bits in the Sub-window Start Position Register
(D[25:16]/0x301A88)
PIPXEND[9:0]: Sub-window Horizontal (X) End Position Bits in the Sub-window End Position Register
(D[9:0]/0x301A8C)
PIPYEND[9:0]: Sub-window Vertical (Y) End Position Bits in the Sub-window End Position Register
(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-window display control
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: PIP Sub-window Enable Bit in the Sub-window Start Position Register (D31/0x301A88)
At initial reset, PIPEN (D31/0x301A88) is set to 0 and sub-window is disabled for display.