Справочник Пользователя для Philips S1D13505

Скачать
Страница из 556
Page 78
Epson Research and Development
Vancouver Design Center
S1D13505
Programming Notes and Examples
X23A-G-003-07
Issue Date: 01/02/05
11.5.8  Power Save
This section covers the HAL functions dealing with the Power Save features of the 
S1D13505.
int seSWSuspend(int DevID, BOOL Suspend)
Description:
Causes the S1D13505 to enter software suspend mode.
When software suspend mode is engaged the display is disabled and display buffer 
is inaccessible. In this mode the registers and the LUT are accessible. 
Parameters:
DevID
- a registered device ID
Suspend
- boolean flag to indicate which state to engage.
- enter suspend mode when non-zero and return to normal power
 when equal to zero.
Return Value: ERR_OK
- operation completed with no problems
int seHWSuspend(int DevID, BOOL Suspend)
Description:
Causes the S1D13505 to enter/leave hardware suspend mode. This option in only 
supported on S1D13505B0B ISA evaluation boards.
When hardware suspend mode is engaged the display is disabled and display buffer 
is inaccessible and the registers and LUT are inaccessible. 
Parameters:
DevID
- a registered device ID
Suspend
- boolean flag to indicate which state to engage.
- enter suspend mode when non-zero and return to normal power
 when equal to zero.
Return Value: ERR_OK
- operation completed with no problems
11.6  Porting LIBSE to a new target platform
Building Epson applications like a simple HelloApp for a new target platform requires 3 
things, the HelloApp code, the 13505HAL library, and a some standard C functions 
(portable ones are encapsulated in our mini C library LIBSE).
Figure 11-1: Components needed to build 13505 HAL application
HelloApp Source code
13505HAL Library
HelloApp
C Library Functions (LIBSE for embedded platforms)