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

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
Page 50
S1D13704
X26A-G-002-03
int seSetBitsPerPixel(int DevID, int BitsPerPixel)
Description:
Parameter:
Return Value: ERR_OK
int seGetBitsPerPixel(int DevID, int * pBitsPerPixel)
Description:
Parameters:
Return Value: ERR_OK
int seGetBytesPerScanline(int DevID, int * pBytes)
Description:
Parameters:
Return Value: ERR_OK - operation completed with no problems
This routine sets the color depth the S1D13704 displays in.
After performing validity checks to ensure the requested video mode can be set the
appropriate registers are changed and the Look-Up table is set its default values
appropriate to the color depth.
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 include:
1) the desired frame rate may not be attainable with the specified input clock
2) the combination of width, height and color depth may require more memory than
is available on the S1D13704.
This function reads the S1D13704 registers to determine the current color depth and
returns the result in pBitsPerPixel.
DevID
pBitsPerPixel - pointer to an integer to receive current color depth.
Returns the number of bytes use by each scan line in the integer pointed to by
pBytes. The number of bytes per scanline will include the number of non-displayed
bytes, if applicable.
Prior to calling seGetBytesPerScanline() the S1D13704 control registers must have
been correctly initialized.
DevID
pBytes
- registered device ID
- Valid arguments are: 1, 2, 4, and 8.
- operation completed with no problems
- registered device ID
- return values will be: 1, 2, 4, or 8.
- operation completed with no problems
- registered device ID
- pointer to an integer to receive the number of bytes per scan line
Epson Research and Development
Programming Notes and Examples
Vancouver Design Center
Issue Date: 01/02/12

Related parts for S1D13704