
ViiiPeRiPheRaLMoDuLes6(LCD):LCDContRoLLeR(LCDC)
s1C33L17teChniCaLManuaL
ePson
Viii-1-57
VIII
LCDC
0x301a88:sub-windowstartPositionRegister(pLCDC_ssP)
name
address
Registername
Bit
Function
setting
init. R/W
Remarks
PiPen
–
PiPYst9
PiPYst8
PiPYst7
PiPYst6
PiPYst5
PiPYst4
PiPYst3
PiPYst2
PiPYst1
PiPYst0
–
PiPXst9
PiPXst8
PiPXst7
PiPXst6
PiPXst5
PiPXst4
PiPXst3
PiPXst2
PiPXst1
PiPXst0
D31
D30–26
D25
D24
D23
D22
D21
D20
D19
D18
D17
D16
D15–10
D9
D8
D7
D6
D5
D4
D3
D2
D1
D0
PIPsub-windowenable
reserved
Sub-windowvertical(Y)start
position
reserved
Sub-windowhorizontal(X)start
position
0
–
0
–
0
R/W
–
R/W
–
R/W
0whenbeingread.
*3: Thisregisteris
enabledwhen
PIPEN=1.
0whenbeingread.
(
*3)
00301a88
(W)
sub-window
startposition
register
(pLCDC_SSP)
–
Ystartposition=PIPYST
(lines)fromtheorigin
–
Xstartposition=PIPXST
(pixels)fromtheorigin
(wordunits)
0
1 Enabled
Disabled
D31
PiPen:PiPsub-windowenableBit
Enables the Picture-in-Picture Plus function to display the sub-window in the main window.
1 (R/W): Enable
0 (R/W): Disable (default)
Configure the sub-window using the registers at 0x301A80 to 0x301A8C before setting PIPEN to 1.
D[30:26] Reserved
D[25:16] PiPYst[9:0]:sub-windowVertical(Y)startPositionBits
Sets the sub-window vertical display start position. (Default: 0x0)
Specify the number of lines from the LCD panel origin point to the upper left corner of the sub-window
in 1-line increments.
PIPYST[9:0] = YSTART [lines]
For example, to specify the sub-window vertical start position as 60 lines, set PIPYST[9:0] to 60.
D[15:10] Reserved
D[9:0]
PiPXst[9:0]:sub-windowhorizontal(X)startPositionBits
Sets the sub-window horizontal display start position. (Default: 0x0)
Convert the number of pixels from the LCD panel origin point to the upper left corner of the sub-win-
dow into the number of data words according to the bpp mode and set it to these bits.
PIPXST[9:0] = XSTART pixels
× bpp ÷ 32 [words]
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] to 20.