S1D13705F00A200 Epson, S1D13705F00A200 Datasheet - Page 137

no-image

S1D13705F00A200

Manufacturer Part Number
S1D13705F00A200
Description
Manufacturer
Epson
Datasheet

Specifications of S1D13705F00A200

Operating Supply Voltage (typ)
3.3/5V
Operating Temperature (min)
-40C
Operating Temperature (max)
85C
Operating Temperature Classification
Industrial
Package Type
TQFP
Pin Count
80
Mounting
Surface Mount
Operating Supply Voltage (min)
2.7V
Operating Supply Voltage (max)
5.5V
Lead Free Status / Rohs Status
Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
S1D13705F00A200
Manufacturer:
EPSON/爱普生
Quantity:
20 000
10: SAMPLE CODE
2-52
}
/*
** Clear all of video memory by writing 81920 bytes of 0.
*/
pMem = p13705;
for (tmp = 0; tmp < MEM_SIZE; tmp++)
{
};
/*
** Draw a 100x100 red rectangle in the upper left corner (0,0)
** of the display.
*/
for (y = 0; y < 100; y++)
{
}
/*
** Wait for the user to press a key before continuing.
*/
printf("Press any key to continue");
getch();
/*
** Set and use PORTRAIT mode.
*/
/*
** Clear the display, and all of video memory, by writing 81920 bytes
** of 0. This is done because an image in display memory is not rotated
** when the switch to portrait display mode occurs.
*/
pMem = p13705;
for (tmp = 0; tmp < MEM_SIZE; tmp++)
{
};
/*
** We will use the default portrait mode scheme so we have to adjust
** the ROTATED width to be a power of 2.
** (NOTE: current height will become the rotated width)
*/
tmp = 1;
while (Height > (1 << tmp))
tmp++;
Height = (1 << tmp);
OffsetBytes = Height * BitsPerPixel / 8;
/*
** Set:
** 1) Line Byte Count to size of the ROTATED width (i.e. current height)
** 2) Start Address to the offset of the width of the ROTATED display.
**
*/
SET_REG(0x1C, (BYTE)OffsetBytes);
(in portrait mode the start address registers point to bytes)
pLUT++;
*pMem = 0;
pMem++;
/*
** Set the memory pointer at the start of each line.
**
*/
pMem = p13705 + (y * 320 * BitsPerPixel / 8) + 0;
for (x = 0; x < 100; x++)
{
}
*pMem = 0;
pMem++;
Pointer = MEM_OFFSET + (Y * Line_Width * BPP / 8) + (X * BPP / 8)
*pMem = 0x4;/* Draw a pixel with LUT color 4 */
pMem++;
EPSON
S1D13705F00A PROGRAMMING NOTES
AND EXAMPLES (X27A-G-002-01)

Related parts for S1D13705F00A200