
Epson Research and Development
Page 3
Vancouver Design Center
Programming Notes and Examples
S1D13A05
Issue Date: 2002/08/21
X40A-G-003-04
Table of Contents
1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2
Identifying the S1D13A05
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3
Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4
Memory Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.1
Display Buffer Location
. . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.2
Memory Organization for One Bit-per-pixel (2 Colors/Gray Shades) . . . . . . . . . 14
4.3
Memory Organization for Two Bit-per-pixel (4 Colors/Gray Shades) . . . . . . . . . 15
4.4
Memory Organization for Four Bit-per-pixel (16 Colors/Gray Shades) . . . . . . . . 15
4.5
Memory Organization for 8 Bpp (256 Colors/64 Gray Shades) . . . . . . . . . . . 16
4.6
Memory Organization for 16 Bpp (65536 Colors/64 Gray Shades) . . . . . . . . . . 16
5
Look-Up Table (LUT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
5.1
Registers
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
5.1.1
Look-Up Table Write Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
5.1.2
Look-Up Table Read Register
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
5.2
Look-Up Table Organization
. . . . . . . . . . . . . . . . . . . . . . . . 18
5.2.1
Gray Shade Modes
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
5.2.2
Color Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
6
Power Save Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
6.1
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
6.2
Registers
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
6.2.1
Power Save Mode Enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
6.2.2
Memory Controller Power Save Status . . . . . . . . . . . . . . . . . . . . . . . . 27
6.3
LCD Power Sequencing
. . . . . . . . . . . . . . . . . . . . . . . . . . 28
6.4
Enabling Power Save Mode . . . . . . . . . . . . . . . . . . . . . . . . . 29
6.5
Disabling Power Save Mode . . . . . . . . . . . . . . . . . . . . . . . . . 29
7
SwivelView‘ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
7.1
SwivelView 90°
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
7.2
SwivelView 180° . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
7.3
SwivelView 270° . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
7.4
SwivelView Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
7.4.1
SwivelView 0° (Landscape) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
7.4.2
SwivelView 90° . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
7.4.3
SwivelView 180° . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
7.4.4
SwivelView 270° . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
7.5
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
7.6
Limitations
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44