26 LCD CONTROLLER (LCDC)
26-48
Seiko Epson Corporation
S1C33L26 TECHNICAL MANUAL
Sub-Window Start Position Register (LCDC_SUBSP)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
Sub-window
Start Position
Register
(LCDC_SUBSP)
0x302088
(32 bits)
D31
PIP_EN
PIP enable
1 Enable
0 Disable
0
R/W
D30–26 –
reserved
–
–
–
0 when being read.
D25–16 PIP_
YSTART
[9:0]
Sub-window vertical (Y) start posi-
tion
Y start position = PIP_YSTART
(lines) from the origin
0x0 R/W
*
3: This register is
enabled when
PIP_EN = 1.
D15–10 –
reserved
–
–
–
0 when being read.
D9–0 PIP_
XSTART
[9:0]
Sub-window horizontal (X) start
position
X start position = PIP_XSTART
(pixels) from the origin
(word units)
0x0 R/W (
*
3)
D31
PIP_EN: PIP Enable Bit
Enables the Picture-in-Picture Plus function to display the sub-window in the main window.
1 (R/W): Enabled
0 (R/W): Disabled (default)
Configure the sub-window using the registers at 0x302080 to 0x30208c before setting PIP_EN to 1.
D[30:26] Reserved
D[25:16] PIP_YSTART[9:0]: Sub-Window Vertical (Y) Start Position Bits
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.
PIP_YSTART[9:0] = Y
START
[lines]
For example, to specify the sub-window vertical start position as 60 lines, set PIP_YSTART[9:0] to 60.
D[15:10] Reserved
D[9:0]
PIP_XSTART[9:0]: Sub-Window Horizontal (X) Start Position Bits
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.
PIP_XSTART[9:0] = X
START
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
24-bpp mode: 3-word = 4-pixel units (because the value must be an integer)
For example, to specify the sub-window horizontal start position as 80 pixels in 8-bpp mode, set PIP_
XSTART[9:0] to 20.
Sub-Window End Position Register (LCDC_SUBEP)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
Sub-window
End Position
Register
(LCDC_SUBEP)
0x30208c
(32 bits)
D31–26 –
reserved
–
–
–
0 when being read.
D25–16 PIP_YEND
[9:0]
Sub-window vertical (Y) end posi-
tion
Y end position = PIP_YEND
(lines) from the origin
0x0 R/W
*
3: This register is
enabled when
PIP_EN = 1.
D15–10 –
reserved
–
–
–
0 when being read.
D9–0 PIP_XEND
[9:0]
Sub-window horizontal (X) end
position
X end position = PIP_XEND
(pixels) from the origin
(word units)
0x0 R/W (
*
3)
D[31:26] Reserved