S1D13505 Epson Electronics America, Inc., S1D13505 Datasheet - Page 223

no-image

S1D13505

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

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
S1D13505F00A
Manufacturer:
EPSON
Quantity:
254
Part Number:
S1D13505F00A100
Manufacturer:
EPSON
Quantity:
8 000
Part Number:
S1D13505F00A2
Manufacturer:
EPSON
Quantity:
5
Part Number:
S1D13505F00A2
Manufacturer:
EPSON/爱普生
Quantity:
20 000
Part Number:
S1D13505F00A200
Manufacturer:
EPSON
Quantity:
1 400
Part Number:
S1D13505F00A200
Manufacturer:
Epson Electronics America Inc-Semiconductor Div
Quantity:
10 000
Part Number:
S1D13505F00A200
Manufacturer:
EPSON/爱普生
Quantity:
20 000
Epson Research and Development
Vancouver Design Center
11.5.5 Drawing
Programming Notes and Examples
Issue Date: 01/02/05
Parameter:
Return Value: ERR_OK
int seGetBitsPerPixel(int DevID, UINT * pBitsPerPixel)
Description:
Determines the color depth of current display mode.
Parameters:
Return Value: ERR_OK
The Drawing section covers HAL functions that deal with displaying pixels, lines and
shapes.
int seSetPixel(int DevID, long x, long y, DWORD Color)
Description:
Parameters:
Return Value: ERR_OK
int seGetPixel(int DevID, long x, long y, DWORD *pColor)
Description:
registers are changed and the Look-Up Table is set its default value.
This call is similar to a mode set call on a standard VGA.
DevID
BitsPerPixel - desired color depth in bits per pixel
ERR_FAILED- possible causes for this error message include:
This function reads the S1D13505 registers to determine the current color depth and
returns the result in pBitsPerPixel.
DevID
pBitsPerPixel - return value is the current color depth (1/2/4/8/15/16 bpp)
Draws a pixel at coordinates (x,y) in the requested color. This routine can be used
for any color depth.
DevID
x
y
Color
Reads the pixel color at coordinates (x,y). This routine can be used for any color
depth.
- registered device ID
- operation completed with no problems
1) attempted to set other than 8 or 15/16 bpp in portrait mode
(portrait mode only supports 8 and 15/16 bpp)
2) factors such as input clock and memory speed will affect the ability
to set some color depths. If the requested color depth cannot be set this
call will fail
- registered device ID
- operation completed with no problems
- Registered device ID
- horizontal coordinate of the pixel (starting from 0)
- vertical coordinate of the pixel (starting from 0)
- at 1, 2, 4, and 8 bpp Color is an index into the LUT.
At 15 and 16 bpp Color defines the color directly
- operation completed with no problems.
(i.e. rrrrrggggggbbbbb for 16 bpp)
X23A-G-003-07
S1D13505
Page 69

Related parts for S1D13505