S1D13704 Epson Electronics America, Inc., S1D13704 Datasheet - Page 125

no-image

S1D13704

Manufacturer Part Number
S1D13704
Description
LCD Controller
Manufacturer
Epson Electronics America, Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
S1D13704F00A100
Manufacturer:
EPSON
Quantity:
500
Part Number:
S1D13704F00A100
Manufacturer:
EPSON
Quantity:
1 000
Part Number:
S1D13704F00A200
Manufacturer:
EPSON
Quantity:
1 400
Part Number:
S1D13704F00A200
Manufacturer:
EPSON/爱普生
Quantity:
20 000
Epson Research and Development
Vancouver Design Center
Programming Notes and Examples
Issue Date: 01/02/12
StartWord = GetStartAddress();
StartWord ++;
SetStartAddress(StartWord);
StartWord = GetStartAddress();
StartWord --;
if (StartWord < 0)
SetStartAddress(StartWord);
StartWord = GetStartAddress();
StartWord -= words_per_line;
if (StartWord < 0)
SetStartAddress(StartWord);
StartWord = GetStartAddress();
StartWord += words_per_line;
SetStartAddress(StartWord);
long GetStartAddress (void)
{
}
void SetStartAddress (long StartWord)
{
}
Panning to the right.
Panning to the left.
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.
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;
StartWord = 0;
return (REG[0D] * 256 +REG[0C];
REG[0C] = StartWord & 0xFF;
REG[0D] = StartWord / 256;
X26A-G-002-03
S1D13704
Page 29

Related parts for S1D13704