Epson S1D13706 Technical Manual page 237

Embedded memory lcd controller
Hide thumbs Also See for S1D13706:
Table of Contents

Advertisement

Epson Research and Development
Vancouver Design Center
int seGetSurfaceDisplayMode(void)
Description:
Parameters:
Return Value:
DWORD seGetSurfaceSize(void)
Description:
Parameters:
Return Value:
DWORD seGetSurfaceLinearAddress(void)
Description:
Parameters:
Return Value:
DWORD seGetSurfaceOffsetAddress(void)
Description:
Parameters:
Return Value:
Note
Programming Notes and Examples
Issue Date: 01/02/23
The functions in this section allow the application programmer a little greater control over
surfaces.
This function determines the type of display associated with the current active surface.
None.
The return value indicates the active surface display type. Return values will be one of:
MAIN_WIN
The main window is the active surface.
SUB_WIN
The sub-window is the active surface.
This function returns the number of display memory bytes allocated to the current active
surface.
None.
The return value is the number of bytes allocated to the current active surface.
The return value will be 0 if this function is called before initializing the registers.
This function returns the linear address of the start of memory for the active surface.
None.
The return value is the linear address to the start of memory for the active surface. A linear
address is a 32-bit offset, in CPU address space.
The return value will be NULL if this function is called before a surface has been initial-
ized.
This function returns the offset, from the first byte of display memory to the first byte of
memory associated with the active display surface.
None.
The return value is the offset, in bytes, from the start of display memory to the start of the
active surface. An address of 0 indicates the surface starts in the first byte of display buffer
memory.
This function also returns 0 if there is no memory allocated to an active surface. You
must ensure that memory is allocated before calling seGetSurfaceOffsetAddress().
Page 77
S1D13706
X31B-G-003-03

Advertisement

Table of Contents
loading

Table of Contents