27 GRAPHICS ENGINE (GE)
27-30
Seiko Epson Corporation
S1C33L26 TECHNICAL MANUAL
LINE Command (Straight Line Drawing)
27.5.6
Bit
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
CMD
0x11
0xffff
ARG1
Effect Setting
Color
reserved
C
lip
E
na
bl
e
Tr
an
sp
ar
en
t E
na
bl
e
P
al
et
te
S
el
ec
t
S
yn
c
E
na
bl
e
W
rit
e
E
ffe
ct
S
et
tin
g
ARG2
reserved
Line Width
ARG3
Y1 Coordinate
X1 Coordinate
ARG4
Y2 Coordinate
X2 Coordinate
The LINE command draws a line between the two points specified in the X and Y coordinates with the speci-
fied color. The line width can also be specified in number of pixels. Not only horizontal and vertical lines but also
oblique lines can be drawn according to the specified coordinates.
Argument 1 (Drawing effects and color)
D[31:24] Reserved
D23
Clip Enable Bit
Enables or disables the clipping function. (See Section 27.3.5.)
1: Clipping enabled
0: Clipping disabled
D22
Transparent Enable Bit
Enables or disables transparency. (See Section 27.3.5.)
1: Transparency enabled
0: Transparency disabled
D[21:20] Palette Select[1:0] Bits
Selects the palette to be used when converting colors with a palette. (See Section 27.3.5.)
5.6.1 Palette Selection
Table 27.
Palette Select[1:0] bits
Palette
0x3
Palette 3
0x2
Palette 2
0x1
Palette 1
0x0
Not used
D19
Sync Enable Bit
Enables or disables the LCDC synchronization function. (See Section 27.3.5.)
1: Enabled (Synchronized)
0: Disabled (Not synchronized)
D[18:16] Write Effect Setting[2:0] Bits
Selects a writing effect. (See Section 27.3.5.)
5.6.2 Writing Effect Selections
Table 27.
Write Effect Setting[2:0] bits
Writing effect
0x7–0x4
Reserved
0x3
Rewrite
0x2
Mesh
0x1
XOR
0x0
Normal (Fill)
D[15:0] Color[15:0] Bits
Specifies the drawing color.
The effective bits depend on the GE bpp mode (set using DISP_BPP[2:0]/GE_DISP_CFG register).