27 GRAPHICS ENGINE (GE)
27-58
Seiko Epson Corporation
S1C33L26 TECHNICAL MANUAL
VRAM Work Area Size Register (GE_WK_SIZE)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
VRAM Work
Area Size
Register
(GE_WK_SIZE)
0x302454
(32 bits)
D31–28 –
reserved
–
–
–
0 when being read.
D27–16 VWIN_H
[11:0]
Work area height
Height = 1 (pixels) 0x0 R/W
D15–12 –
reserved
–
–
–
0 when being read.
D11–0 VWIN_W
[11:0]
Work area width
Width = 1 (pixels) 0x1f R/W
D[31:28] Reserved
D[27:16] VWIN_H[11:0]: Work Area Height Bits
Specifies the height of the work area in number of pixels. (Default: 0x0)
Height = 1 (pixels)
D[15:12] Reserved
D[11:0] VWIN_W[11:0]: Work Area Width Bits
Specifies the width of the work area in number of pixels. (Default: 0x1f)
Width = 1 (pixels)
Notes: • The work area cannot be configured beyond 4,096 pixels
×
4,096 pixels even if an external
large capacity VRAM is connected.
• The work area width (data size) must be specified in word (32 bits) increments. If an incorrect
value is specified, the GE corrects it to the word (32 bits) boundary value larger and closest to
the specified value.
The data size depends on the bpp mode. Furthermore, when the work area is rotated, its
width and height must be reset according to the rotation angle. Therefore, VWIN_W[11:0] and
VWIN_H[11:0] should be set after setting the bpp mode and the angle of work area rotation.
6.4 Work Area Size Specifications
Table 27.
bpp mode
VWIN_W[11:0]
VWIN_H[11:0]
1 bpp
int ((Width + 31) / 32)
×
32 - 1
Height - 1
2 bpp
int ((Width + 15) / 16)
×
16 - 1
Height - 1
4 bpp
int ((Width + 7) / 8)
×
8 - 1
Height - 1
8 bpp
int ((Width + 3) / 4)
×
4 - 1
Height - 1
16 bpp
int ((Width + 1) / 2)
×
2 - 1
Height - 1
The Width and Height mean the maximum logical coordinate values in Figure 27.3.1.2.
Display Configuration Register (GE_DISP_CFG)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
Display
Configuration
Register
(GE_DISP_
CFG)
0x302458
(32 bits)
D31–17 –
reserved
–
–
–
0 when being read.
D16
TF_TYPE
Block transfer type select
1 Pixel to Byte 0 Byte to Byte
0
R/W
D15–5 –
reserved
–
–
–
0 when being read.
D4
SYNC_
TYPE
LCDC horizontal/vertical sync type
select
1 Vertical
0 Horizontal
0
R/W
D3
–
reserved
–
–
–
0 when being read.
D2–0 DISP_
BPP[2:0]
Color depth
(Display data bit per pixel)
DISP_BPP[2:0]
Color depth
0x0 R/W
0x7–0x5
0x4
0x3
0x2
0x1
0x0
reserved
16 bpp
8 bpp
4 bpp
2 bpp
1 bpp
D[31:17] Reserved
D16
TF_TYPE: Block Transfer Type Select Bit
Selects the transfer data type for block transfer from the work area to USIL.
1 (R/W): Pixel to Byte
0 (R/W): Byte to Byte (default)