S1D13705 Epson Electronics America, Inc., S1D13705 Datasheet - Page 122

no-image

S1D13705

Manufacturer Part Number
S1D13705
Description
S1d13705 Embedded Memory Lcd Controller
Manufacturer
Epson Electronics America, Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
S1D1370500A1
Manufacturer:
EPSON/爱普生
Quantity:
20 000
Part Number:
S1D13705F00A100
Manufacturer:
EPSON
Quantity:
1 831
Part Number:
S1D13705F00A200
Manufacturer:
EPSON/爱普生
Quantity:
20 000
Page 30
S1D13705
X27A-G-002-02
StartWord = GetStartAddress();
StartWord -= words_per_line;
if (StartWord < 0)
SetStartAddress(StartWord);
StartWord = GetStartAddress();
StartWord += words_per_line;
SetStartAddress(StartWord);
Example 4: Scrolling (Up and Down)
To scroll down, increase the value in the Screen 1 Display Start Address Register by the
number of words in one virtual scan line. To scroll up, decrease the value in the Screen 1
Display Start Address Register by the number of words in one virtual scan line. A virtual
scan line includes both the number of bytes required by the physical display and any extra
bytes that may be being used for creating a virtual width on the display.
The previous dimensions are still in effect for this example (i.e. 320w x 240h virtual size,
256h x 64w physical size at 4 bpp)
Step 1: Determine the number of words in one virtual scanline.
bytes_per_line = pixels_per_line / pixels_per_byte = 320 / 2 = 160
words_per_line = bytes_per_line / 2 = 160 /2 = 80
Step 2: Scroll up or down
To scroll up.
To scroll down.
StartWord = 0;
}
Epson Research and Development
Programming Notes and Examples
Vancouver Design Center
Issue Date: 01/02/13

Related parts for S1D13705